Nothing
## function: cross-validation
# ------------------------------------------------------------------------------
cv.grpregOverlap <- function(X, y, group, ..., nfolds=10, seed, trace=FALSE) {
fit <- grpregOverlap(X=X, y=y, group=group, returnX = TRUE, ...)
cvfit <- cv.grpreg(X = fit$X.latent, y = y, group = fit$grp.vec, ...,
nfolds = nfolds, seed = seed,
trace = trace)
cvfit$fit <- fit
val <- structure(cvfit, class = c('cv.grpregOverlap', 'cv.grpreg'))
val
}
# ------------------------------------------------------------------------------
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.