ppplot
function displays the probability distributions of a node and all its parent nodes (suffixes) in the tree. IF the name of a gain function and a vector of pruning cutoffs are provided, the graphic will display the outcomes of the gain function, i.e., whether a node represents an information gain relative to its parent.## S3 method for class 'PSTf':
ppplot(object, path, gain, C, cex.plot = 1, nsize = 0.3,
psize = nsize/2, pruned.col = "red", div.col = "green", ...)
prune
.prune
.plot
function.cplot
, prune
data(s1)
s1.seq <- seqdef(s1)
S1 <- pstree(s1.seq, L=5, ymin=0.001)
ppplot(S1, "a-a-b-b-a", gain="G1", C=c(1.1, 1.2))
Run the code above in your browser using DataLab