plot_survival_tree: Visualize the Fitted Survival Tree

View source: R/plot_survival_tree.R

plot_survival_treeR 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)

SurvivalClusteringTree documentation built on May 29, 2024, 11:23 a.m.