plotDecTree: Decision Tree Plot

Description Usage Arguments Value Author(s) See Also

Description

This function will draw decision tree based on the tree information list. All the plotting functions come frome rpart package.

Usage

1
2
3
plotDecTree(mytree, width = 1000, height = 750, uniform = TRUE,
  branch = 0, margin = 0.1, nspace = -1, minbranch = 0.3, all = FALSE,
  fancy = TRUE, use.n = TRUE, fwidth = 0.5, fheight = 0.5)

Arguments

mytree

a list returned by the decTreexxx function contains the information of the decision tree.

width,

etc. parameters for ploting, see rpart package for more details. You can try serveral times for the best display.

height

height

uniform

TRUE or FALSE

branch

branch

margin

margin

nspace

nspace

minbranch

minbranch

all

all

fancy

fancy

use.n

use.n

fwidth

fwidth

fheight

fheight

Value

the plot will be save as a png file in your working directory.

Author(s)

Li Qinglong <liqinglong0830@163.com>

See Also

plotDecROC


StatMethRank documentation built on Jan. 15, 2017, 8:59 p.m.