new_models | R Documentation |
New Model Constructors
New transition matrix
New tree data
New long data
new_transmat(transmat, ...) new_tree_dat(tree_dat, ...) new_dat_long(dat_long, fill_edges = TRUE, fill_probs = FALSE)
transmat |
Transition probability matrix. Rows are from nodes and columns are to nodes. |
... |
Additional arguments |
tree_dat |
Hierarchical tree structure of parents and children in a list of vectors with integer values. |
dat_long |
Long format data frame with from, to, prob, vals columns. |
fill_edges |
If need missing edges to connect to a sink state; logical |
fill_probs |
Fill in missing probabilities; logical |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.