show_tree {BCT} | R Documentation |
Plot tree with given contexts
Description
Plots a tree depicting a model with the given set of contexts.
Usage
show_tree(s)
Arguments
s |
vector containing the contexts of the leaves of the desired tree. |
Value
plot of the desired tree model.
See Also
Examples
# Construct an example vector:
r <- c("a", "ab", "aab", "b", "ba")
show_tree(r)
# If the input contains digits:
q <- c(11,1,0)
show_tree(q)
[Package BCT version 1.2 Index]