Plot coefficients from a "msda" object

Share:

Description

Produces a coefficient profile plot of the coefficient paths for a fitted msda object.

Usage

1
2
## S3 method for class 'msda'
plot(x, xvar = c("norm", "lambda"), ...)

Arguments

x

fitted msda model

xvar

the variable on the X-axis. The option "norm" plots the coefficients against the L1-norm of the coefficients, and the option "lambda" plots the coefficient against the log-lambda sequence.

...

other graphical parameters to plot

Details

A coefficient profile plot is produced.

Author(s)

Qing Mai <mai@stat.fsu.edu>, Yi Yang <yiyang@umn.edu>, Hui Zou <hzou@stat.umn.edu>
Maintainer: Yi Yang <yiyang@umn.edu>

References

Mai, Q.*, Yang, Y.*, and Zou, H. (2014), "Multiclass Sparse Discriminant Analysis." Submitted to Journal of the American Statistical Association. (* co-first author)

URL: https://github.com/emeryyi/msda

Examples

1
2
3
4
5
data(GDS1615)
x<-GDS1615$x
y<-GDS1615$y
obj <- msda(x = x, y = y)
plot(obj)