surv_effect_methods | R Documentation |
surv_effect
S3 Methods for surv_effect
## S3 method for class 'surv_effect'
print(x, ...)
table(x, ...)
## Default S3 method:
table(x, ...)
## S3 method for class 'surv_effect'
table(x, ...)
x |
( |
... |
ignored additional arguments (for compatibility). |
print(surv_effect)
: prints the surv_effect
object.
table(surv_effect)
: prints and returns invisibly the events table of the surv_effect
object.
x <- robin_surv(
formula = Surv(time, status) ~ meal.cal + age,
data = surv_data,
treatment = sex ~ strata
)
print(x)
table(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.