Description Usage Arguments Value Examples
Function to get predictions according to a fitted model
| 1 | get_prediction(model, newdata, type)
 | 
| model | a model from the train_mod function | 
| newdata | the dtibble/ataframe with predictors | 
| type | "raw" or "prob". see ?predict.train | 
a tibble with the data and the corresponding predictions
| 1 | #find an example
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.