Description Usage Arguments Value
Generalised additive models describing the response variable, response
, are constructed using all
possible combinations of the given predictors, preds
. These models are fit using the given data frame,
data
, and contain up to and including max_n
terms. These are smoothed terms with k
knots.
1 |
preds |
Names of the predictors (vector of strings) |
response |
Name of response variable (string) |
kval |
Number of knots in the smoothers (numeric) |
max_n |
Maximum number of terms in each GAM (numeric) |
data |
Data set that includes the predictors and response variable (data frame) |
List of gams
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.