Customized BTYD R package