show_tree: Plot tree with given contexts

View source: R/process_bct.R

show_treeR 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

BCT, draw_models

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)

BCT documentation built on May 12, 2022, 5:06 p.m.

Related to show_tree in BCT...