colCoxTests | R Documentation |
A function to perform fast or standard Cox proportional hazard model tests.
colCoxTests(measurements, outcome, option = c("fast", "slow"), ...)
measurements |
matrix with variables as columns. |
outcome |
matrix with first column as time and second column as event. |
option |
Default: |
... |
Not currently used. |
CrossValParams object
data(asthma)
time <- rpois(nrow(measurements), 100)
status <- sample(c(0,1), nrow(measurements), replace = TRUE)
outcome <- cbind(time, status)
output <- colCoxTests(measurements, outcome, "fast")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.