Learn R Programming

DLASSO (version 2.0.2)

plot.dlasso: Plot method for dlasso objects

Description

Produce a plot from a dlasso fit.

Usage

# S3 method for dlasso
plot(x, label=FALSE , cex.lab=1 , all=TRUE ,...)

Arguments

x

dlasso object

label

Show covariate labels on the right hand side of the plot.

cex.lab

See "cex.lab" in "par" function.

all

Logical flag. If TRUE shows all plots including AIC, GIC, BIC, CGV and complete coefficient path. Otherwise the output is a single plot for coefficient path. Default is TRUE.

Additional arguments for generic plot.

See Also

dlasso,coef.dlasso

Examples

Run this code
  example(dlasso)

Run the code above in your browser using DataLab