View source: R/long_xx_transmat.R
transmat_to_long | R Documentation |
Transition matrix to long format
transmat_to_long(probs)
probs |
Probability transition matrix |
array of from, to, prob
tree <- list( prob = matrix(data = c(NA, 0.5, 0.5), nrow = 1), vals = matrix(data = c(NA, 1, 2), nrow = 1)) transmat_to_long(tree$prob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.