Description Usage Arguments Details Examples
Compares models for a continuous response with a cutoff value.
1 2 3 4 5 6 7 8 9 10 11 12 
y 
continuous outcome: vector of length n 
cutoff 
cutoff point for dichotomising outcome into classes:
meaningful value between 
X 
features: numeric matrix with n rows (samples) and p columns (variables) 
alpha 
elastic net mixing parameter: numeric between 0 (ridge) and 1 (lasso) 
nfolds.ext 
number of external folds 
nfolds.int 
internal fold identifiers:
vector of length n with entries
between 1 and 
foldid.ext 
external fold identifiers:
vector of length n with entries
between 1 and 
foldid.int 
number of internal folds 
type.measure 
loss function for binary classification:
character 
... 
further arguments passed to

Computes the crossvalidated loss of logistic and combined regression.
1 2 3 4 5 6 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.