Learn R Programming

rqPen (version 2.3)

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,...)

Value

Plots the validation criteria against the lambda values.

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

Author

Ben Sherwood

Examples

Run this code
if (FALSE) {
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