plot.abesspca {abess} | R Documentation |
Creat plot from a fitted "abess
" object
Description
Produces a coefficient/deviance/tuning-value plot for a fitted "abess" object.
Usage
## S3 method for class 'abesspca'
plot(x, type = c("pev", "coef", "tune"), label = FALSE, ...)
Arguments
x |
A " |
type |
The type of terms to be plot in the y-axis.
One of the following:
|
label |
A logical value.
If |
... |
Other graphical parameters to plot |
Value
No return value, called for side effects.
Note
If family = "mgaussian"
or family = "multinomial"
,
a coefficient plot is produced for
each dimension of multivariate response.
See Also
print.abesspca
,
coef.abesspca
,
plot.abesspca
.
Examples
abess_fit <- abesspca(USArrests, support.size = 1:4, sparse.type = "kpc")
plot(abess_fit)
plot(abess_fit, type = "coef")
plot(abess_fit, type = "tune")
[Package abess version 0.4.8 Index]