Learn R Programming

rqPen (version 2.2.2)

plot.cv.rq.group.pen: Plot cv.rq.group.pen

Description

Plots the validation criteria against the lambda values.

Usage

# S3 method for cv.rq.group.pen
plot(x,y=NULL,...)

Arguments

x

cv.rq.group.pen object.

y

holder value to match up with default plot program

...

Additional values to function, but not currently used

Value

Plots the validation criteria against the lambda values.

Examples

Run this code
# NOT RUN {
x <- matrix(rnorm(400),nrow=100)
y <- 1 + x[,1] - 3*x[,3] + rnorm(100)
cv_model <- cv.rq.group.pen(x,y,groups=c(rep(1,2),rep(2,2)))
plot(cv_model)
# }

Run the code above in your browser using DataLab