Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

show_tree

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)

BCT

Bayesian Context Trees for Discrete Time Series

v1.1
GPL (>= 2)
Authors
Ioannis Papageorgiou, Valentinian Mihai Lungu, Ioannis Kontoyiannis
Initial release
2020-12-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.