Function to create GAM formulas
Gets all possible combinations of predictors, then combines them with the response variable
Next, these are converted into formulas
.
1 | create_formulas(response, vars, kval, max_n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.