as.data.table.orsf_summary_uni | R Documentation |
Convert an 'orsf_summary' object into a data.table
object.
## S3 method for class 'orsf_summary_uni'
as.data.table(x, ...)
x |
an object of class 'orsf_summary_uni' |
... |
not used |
a data.table
## Not run:
library(data.table)
object <- orsf(pbc_orsf, Surv(time, status) ~ . - id, n_tree = 25)
smry <- orsf_summarize_uni(object, n_variables = 2)
as.data.table(smry)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.