Description Usage Arguments Value
Fit a generalized additive model using mgcv::gam. See ??gam for more details
| 1 2 | 
| st | stacker governor. Stacking governer object with an gam model initialized. See ??mbgstacking::init_gam for more info. | 
| model_name | character vector. Name of the model to be run | 
| fold_col | character vector. Denotes the name of the column designating the fold for crossval | 
| fold_id | Numeric. Designates the value in fold col that should be held out | 
| return_model_obj | logical. Denotes whether the function should return the earth object or just predictions. | 
List object with a data.table of predictions. If return_model_obj==T, the gam command and model object are returned as well
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.