Description Usage Arguments Value
View source: R/fit_SuperLearner_funs.R
Predict for discrete SuperLearner fit
| 1 2 3 4 | 
| modelfit | Model fit object returned by  | 
| newdata | Subject-specific data for which predictions should be obtained.
If missing then the predictions for the training data will be typically returned.
See  | 
| add_subject_data | Set to  | 
| subset_idx | A vector of row indices in  | 
| holdout | Set to  | 
| verbose | Set to  | 
| ... | Additional arguments, used only for compatibility with other  | 
A data.table of subject level predictions (subject are rows, columns are different models) or a data.table with subject level covariates added along with model-based predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.