Description Usage Arguments Value See Also Examples
Given an object of class ped
, returns data frame with one row for each
interval containing interval information, median values for numerical
variables and modi for non-numeric variables in the data set.
1 | ped_info(ped)
|
ped |
An object of class |
A data frame with one row for each interval in ped
.
1 2 3 | data("veteran", package="survival")
ped <- split_data(Surv(time, status)~ trt + age, data=veteran, id="id")
ped_info(ped) # note that trt is coded 1/2, should be fixed beforehand
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.