plot.cv_glmaag: Cross validation plot

Description Usage Arguments Value Examples

Description

plot cross validation performance paths

Usage

1
2
## S3 method for class 'cv_glmaag'
plot(x, col_count = 3, SE = T, ...)

Arguments

x

the cv_glmaag object

col_count

number of columns in the plots

SE

whether or not plot the standared error curves (when SE = TRUE)

...

...

Value

plot generated by the model

Examples

1
2
3
4
5
6
7
data(sampledata)
data(L0)
y <- sampledata$Y_Gau
x <- sampledata[, -(1:3)]
cvwhich <- sample(rep(0:4, length.out = length(y)))
mod <- cv_glmaag(y, x, L0, cvwhich = cvwhich)
gg <- plot(mod, SE = FALSE)

glmaag documentation built on May 10, 2019, 9:04 a.m.