Learn R Programming

regsel (version 0.2)

plot.lmsel: Plot lmsel objects

Description

This function produces diagnostic plots of objects of class lmsel produced by lmsel() function.

Usage

"plot"(x, ...)

Arguments

x
an object of class 'lmsel'
...
arguments to be passed to and from other methods

Details

plot will produce residuals versus fitted values and quantile-quantile plots to diagnose the fit of a linear model. If varsel="lasso" or varsel="enet" was selected as arguments in lmsel, plot(object) will produce and additional plot with lasso or elastic net variable selection paths.