UnivariateCoxTable.RdProduces a table with univariate results of COX models for various covariates.
UnivariateCoxTable(DFR, COLUMNS, TIMES, STATUS, SORT = T, DIGITS = 3)
| DFR | data.frame containing the time to event and the covariates |
|---|---|
| COLUMNS | vector of covariate names in DFR |
| TIMES | EITHER Time to event variable of class "Surv" OR time component of time to event |
| STATUS | status component von time to event (needed only if TIMES is not of class "Surv") |
| SORT | =T, sort by p.value? |
| DIGITS | =3, round to DIGITS |
data.frame with univariate results
UnivariateCoxTable