kfoldSSF | R Documentation |
Note: needs complete names in the coxph/clogit call, and not 'cos(var)' or 'I(var*10)', except for 'strata()' and 'cluster()'.
kfoldSSF(
mod,
k = 5,
nrepet = 100,
jitter = TRUE,
reproducible = TRUE,
form_ls = ls,
x = m,
method = method,
details = FALSE
)
mod |
A fitted model for which there exists a |
k |
The number of equal size subsamples of the partition. |
nrepet |
The number of repetitions. |
jitter |
Logical, whether to add some random noise to the predictions (useful when the model is fitted on categorical variables, which can produces error in the ranking process). |
reproducible |
Logical, whether to use a fixed seed for each repetition. |
A data frame with the correlations (cor
) and the
type of value (type
).
Adapted from Mathieu Basille function in hab package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.