multi_coxph | R Documentation |
multivariate survival analysis using coxph
multi_coxph(dataframe, y_surv, digits = 4, asnumeric = TRUE)
dataframe |
Clinic data and covariates ready to be tested. Note that Rows are samples and columns are variables. |
y_surv |
Survival function contain survival data, usually are obtained form Surv() function in survival package. |
digits |
Integer indicating the number of decimal places. |
asnumeric |
indicator that the data will be (True) / not (False) transformed into numeric. Default is true. |
Object of class matrix
with results.
Xin Yu
data(demo_survival_data) data('demo_data',package = "EnMCB") demo_set<-demo_data$realdata res<-multi_coxph(t(demo_set),demo_survival_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.