get.foldid: Get foldid's with branching for cox, binomial and gaussian...

View source: R/tools_241106.R

get.foldidR Documentation

Get foldid's with branching for cox, binomial and gaussian models

Description

Get foldid's with branching for cox, binomial and gaussian models

Usage

get.foldid(y_, event, family, folds_n, stratified = 1)

Arguments

y_

see help for cv.glmnetr() or nested.glmnetr()

event

see help for cv.glmnetr() or nested.glmnetr()

family

see help for cv.glmnetr() or nested.glmnetr()

folds_n

see help for cv.glmnetr() or nested.glmnetr()

stratified

see help for cv.glmnetr() or nested.glmnetr()

Value

A numeric vector with foldid's for use in a cross validation

See Also

factor.foldid , nested.glmnetr


glmnetr documentation built on April 3, 2025, 6:45 p.m.