Description Usage Arguments Value
Tests for a variable the Improvement in C-Index of a Cox model
1 | CIndexTest(formula, var, data, N = 10000, seed = 123, cores = 2, ...)
|
formula |
model formula with a Surv object on the left side |
var |
the name of variable to test with C-Index. Will be added to the formula if not included |
data |
the data frame for model fitting. Must contain all variables in the formula |
N |
number of permutations for the test, default to 10,000 |
cores |
number of cores to use for permutation |
list with the original C-Index, the permutation C-Indices and the p-value (one sided, alternative="higher")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.