% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mogen.R
\name{state_frequencies}
\alias{state_frequencies}
\title{Compute State Frequencies from Trajectory Data}
\usage{
state_frequencies(data)
}
\arguments{
\item{data}{A list of character vectors (trajectories) or a data.frame.}
}
\value{
A data frame with columns: \code{state}, \code{count},
\code{proportion}.
}
\description{
Counts how often each state appears across all trajectories. Returns a
data frame sorted by frequency (descending).
}
\examples{
trajs <- list(c("A","B","C"), c("A","B","A"))
state_frequencies(trajs)

}
