autoGAM_fit.Rd
A wrapper function to fit final (best) Generalized Additive Model (GAM) from an object of class autoGAM_frame
.
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
if (FALSE) { 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 }