plot.msda: Plot coefficients from a "msda" object

View source: R/plot.msda.R

plot.msdaR Documentation

Plot coefficients from a "msda" object

Description

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

Usage

## 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 <yi.yang6@mcgill.ca>, Hui Zou <hzou@stat.umn.edu>
Maintainer: Yi Yang <yi.yang6@mcgill.ca>

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

data(GDS1615)
x<-GDS1615$x
y<-GDS1615$y
obj <- msda(x = x, y = y)
plot(obj)

msda documentation built on Sept. 12, 2022, 9:05 a.m.

Related to plot.msda in msda...