Train Model in R for Clinical Predictions