states | R Documentation |
This function returns the state space of a context tree.
states(ct)
ct |
a context tree. |
the state space of the context tree.
dts <- c(0, 1, 1, 1, 0, 0, 1, 0, 1, 0)
dts_ctree <- ctx_tree(dts, min_size = 1, max_depth = 2)
## should be c(0, 1)
states(dts_ctree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.