multi_coxph: multivariate survival analysis using coxph

View source: R/multi_coxph.R

multi_coxphR Documentation

multivariate survival analysis using coxph

Description

multivariate survival analysis using coxph

Usage

multi_coxph(dataframe, y_surv, digits = 4, asnumeric = TRUE)

Arguments

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.

Value

Object of class matrix with results.

Author(s)

Xin Yu

Examples

data(demo_survival_data)
data('demo_data',package = "EnMCB")
demo_set<-demo_data$realdata
res<-multi_coxph(t(demo_set),demo_survival_data)

whirlsyu/EnMCB documentation built on Jan. 25, 2023, 4:33 a.m.