Plot method for an object of class autoGAM_frame.

# S3 method for autoGAM_frame
plot(x, type = "final", ...)

Arguments

x

An object of class autoGAM_frame.

type

The type of the plot to be created. Valid inputs are 'forms' that returns the whole plots of evaluated continuous predictors & 'final' (default value) that returns the plots related to the best forms obtained from the evaluation process.

...

Other plot arguments (Not being used for objects of class 'autoGAM_frame').

Value

Desired plots that were requested by the type argument.

See also

Author

Shahin Roshani

Examples

if (FALSE) { my_mtcars <- mtcars %>% mutate_at('vs',as.factor) carsGAM <- autoGAM_frame(mpg~disp+drat+vs,data=my_mtcars) %>% backward_select %>% autoGAM_fit plot(carsGAM,type='forms') plot(carsGAM) }