Description Usage Arguments Examples
View source: R/print.rocTree.R
The function prints an rocTree
object. It is a method for the generic function print of class "rocTree
".
1 2 |
x |
an |
digits |
the number of digits of numbers to print. |
tree |
an optional integer specifying the n^{th} tree in the forest to print.
The function prints the contents of an |
... |
for future development. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(simDat)
## Fitting a pruned survival tree
rocTree(Surv(Time, death) ~ z1 + z2, id = id, data = simDat, ensemble = FALSE)
## Fitting a unpruned survival tree
rocTree(Surv(Time, death) ~ z1 + z2, id = id, data = simDat, ensemble = FALSE,
control = list(numFold = 0))
## Not run:
## Fitting the ensemble algorithm (default)
rocTree(Surv(Time, death) ~ z1 + z2, id = id, data = simDat, ensemble = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.