Description Usage Arguments Value Author(s) See Also Examples
A wrapper function to fit final (best) Generalized Additive Model (GAM) from an object of class autoGAM_frame
.
1 | autoGAM_fit(object)
|
object |
An object of class |
Adds the final fitted model to the autoGAM_frame
and prints out the summary of the final fit.
Shahin Roshani
https://shahin-roshani.github.io/autoGAM/articles/autoGAM.html
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
my_mtcars <- mtcars %>% mutate_at('vs',as.factor)
carsGAM <- autoGAM_frame(mpg~disp+drat+vs,data=my_mtcars)
autoGAM_fit(carsGAM)
backward_select(carsGAM) %>% autoGAM_fit
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.