| fx_model | R Documentation | 
Train/test model on sub data frames
fx_model( df.set, covar = NULL, voi = NULL, outcome = NULL, model.type = "logistic", z.pred = F )
| df.set | list containing train and test data frames | 
| outcome | df0 column name for outcome measure to be predicted (string) | 
| model.type | machine learning model ('rf', 'logistic', 'regression', 'rf.regression', 'svm') (string) | 
| z.pred | standardize predictive features (boolean) | 
A list of length three, containing the following elements:
"pred.covar": data frame of predicted values from covariate model
"pred.full": data frame of predicted values from full model
"parameters": model parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.