View source: R/clinic_getCoxTable.R
getCoxTable | R Documentation |
Get a model result of univariate and multivariate Cox regression Models
getCoxTable(
data,
time.col,
status.col,
is.multiple = T,
stepwise = F,
direction = "both",
cluster,
control,
dig = 2,
names = "test1"
)
data |
a data frame containing cluster,time and status value |
time.col |
colnames of time value |
status.col |
colnames of status value |
is.multiple |
whether to do multiple cox regression |
stepwise |
Whether use stepwise strategy to simple multiple cox model |
direction |
method of stepwise.See |
cluster |
the cluster values like age and sex |
control |
set the control value in a factor vector.For example, in T status,T1 should be a control in the contrast of T3 vs T1. |
dig |
the decimal place of output numeric value. |
names |
part of file name. |
Weibin Huang<654751191@qq.com>
stepAIC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.