Plot the cross-validation curve produced by cv.ptLasso, as a function of the alpha
values used.
plot.cv.ptLasso.Rd
A plot is produced, and nothing is returned.
Usage
# S3 method for class 'cv.ptLasso'
plot(x, plot.alphahat = FALSE, ...)
Examples
set.seed(1234)
out = gaussian.example.data()
x = out$x; y=out$y; groups = out$group
cvfit = cv.ptLasso(x, y, groups = groups, family = "gaussian", type.measure = "mse")
plot(cvfit)