| state_frequencies | R Documentation |
Counts how often each state appears across all trajectories. Returns a data frame sorted by frequency (descending).
state_frequencies(data)
data |
A list of character vectors (trajectories) or a data.frame. |
A data frame with columns: state, count,
proportion.
trajs <- list(c("A","B","C"), c("A","B","A"))
state_frequencies(trajs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.