plot.alphanorm: plot coefficient for a "alphanorm"

Description Usage Arguments See Also Examples

View source: R/alphanorm.R

Description

Produce a coefficient profile plot of the coefficient paths for a fitted "alphanorm" object

Usage

1
2
## S3 method for class 'alphanorm'
plot(alphanorm.obj, xvar = c("lambda"), legend = FALSE)

Arguments

alphanorm.obj

fitted "alphanorm" model

xvar

what is on the X-axis. "norm" plots against the $L_q$-norm of the coefficients, "lambda" against the log-lambda sequence

legend

whether legend should be plotted

See Also

alphanorm

Examples

1
2
3
4
5
x=matrix(rnorm(100*20),100,20)
y=rnorm(100)
obj1=alphanorm(x,y)
plot(obj1)
plot(obj1,xvar="norm")

yxwang99/alphanorm documentation built on May 23, 2019, 11:34 p.m.