View source: R/survival_analysis.R
subsample_survival_evaluation | R Documentation |
Likelihood ratio analysis of Cox PH survival models for clustering results
subsample_survival_evaluation(
event_data,
clusters,
survival_time_col = "time",
survival_event_col = "event",
survival_covariate_names = NULL,
row_id = "ID",
by = c("run", "fold", "datname", "drname", "k", "m"),
parallel = 1,
...
)
event_data |
A data.frame that contains survival times, event data and covariates. |
clusters |
A data.frame or data.table containing clustering information. |
survival_time_col |
Name of the column in |
survival_event_col |
Name of the column in |
survival_covariate_names |
Names of covariate columns in |
row_id |
Name of column in |
by |
Vector of column names that identify a single clustering result in |
parallel |
number of parallel threads |
... |
Extra arguments are ignored. |
data.table
of Cox PH LRT-test p-values and Harrell's concordance index values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.