select_kmax: Selection of penalty parameter based on cross-validation

Description Usage Arguments

View source: R/condreg.R

Description

Selection of penalty parameter based on cross-validation

Usage

1
select_kmax(X, k, fold = min(nrow(X), 10))

Arguments

X

n-by-p data matrix

k

vector of penalties for cross-validation

fold

number of folds for cross-validation


CondReg documentation built on May 2, 2019, 4:52 a.m.

Related to select_kmax in CondReg...