plot_survival_tree {SurvivalClusteringTree} | R Documentation |
Visualize the Fitted Survival Tree
Description
Visualize the Fitted Survival Tree
Usage
plot_survival_tree(survival_tree, cex = 0.75)
Arguments
survival_tree |
a fitted survival tree object. |
cex |
numeric character expansion factor. |
Value
No return value, called for generating graphical outputs.
Examples
library(survival)
a_survival_tree<-
survival_tree(
survival_outcome=Surv(time,status==2)~1,
numeric_predictor=~age+ph.ecog+ph.karno+pat.karno+meal.cal,
factor_predictor=~as.factor(sex),
data=lung)
plot_survival_tree(a_survival_tree)
[Package SurvivalClusteringTree version 1.1.1 Index]