summary.crr2 | R Documentation |
crr2
summary methodcrr2
summary method
## S3 method for class 'crr2'
summary(
object,
conf.int = 0.95,
n = FALSE,
ref = FALSE,
html = FALSE,
combine_ci = html,
digits = 2L,
format_p = html,
color_p = html,
format_n = n,
htmlArgs = list(),
...
)
object |
an object of class |
conf.int |
the level for a two-sided confidence interval on the coeficients; default is 0.95 |
n |
logical; if |
ref |
logical; if |
html |
logical; if |
combine_ci |
logical; if |
digits |
number of digits past the decimal point to keep |
format_p |
logical; if |
color_p |
logical; if |
format_n |
logical; if |
htmlArgs |
for |
... |
ignored |
crr2
; print.crr2
crrs <- crr2(Surv(futime, event(censored) == death) ~ age + sex + abo,
data = transplant)
summary(crrs)
summary(crrs, conf.int = 0.9, digits = 3L,
combine_ci = TRUE, format_p = TRUE)
library('htmlTable')
summary(crrs, html = TRUE, combine_ci = TRUE, n = TRUE)
summary(
crrs, html = TRUE, combine_ci = TRUE, n = TRUE, ref = TRUE,
htmlArgs = list(
caption = 'CRR models.', rgroup = c('Age', 'Sex', 'Blood type'),
rnames = c('+1 year change', 'Female', 'B', 'AB', 'O')
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.