plot.rpst: Produces a tree plot of a "rpst" object

Description Usage Arguments Author(s) References See Also Examples

Description

Produces a tree plot of a "rpst" object.

Usage

1
2
  ## S3 method for class 'rpst'
plot(x, xlength = 1, ylength = 3, xshift = 0.5 , ysegment = 6,...)

Arguments

x

a "rpst" project.

xlength

xlength of the plot.

ylength

ylength of the plot.

xshift

xshift of the plot.

ysegment

ysegment of the plot.

...

additional summary arguments.

Author(s)

Yewei Li

References

Zhang, H., Legro, R. S., Zhang, J., Zhang, L., Chen, X., Huang, H., ... & Eisenberg, E. (2010). Decision trees for identifying predictors of treatment effectiveness in clinical trials and its application to ovulation in a study of women with polycystic ovary syndrome.. Human Reproduction, 25(10), 2612-2621.

See Also

rpst, print.rpst, predict.rpst.

Examples

1
2
3
4
5
6
#require(survival)
data <- gen.data(n = 20, p = 5, c = 2)
tree <- rpst(data$data, minsize = 2)
print.rpst(tree)

plot.rpst(tree)

rpst documentation built on May 2, 2019, 3:33 p.m.

Related to plot.rpst in rpst...