% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extraction.R
\name{extract_initial_probs}
\alias{extract_initial_probs}
\title{Extract Initial Probabilities from Model}
\usage{
extract_initial_probs(model)
}
\arguments{
\item{model}{A TNA model object or a list containing an 'initial' element.}
}
\value{
A named numeric vector of initial state probabilities.
}
\description{
Extract the initial state probability vector from a TNA model object.
}
\details{
Initial probabilities represent the probability of starting a sequence in
each state. If the model doesn't have explicit initial probabilities,
this function attempts to estimate them from the data or use uniform
probabilities.
}
\examples{
seqs <- data.frame(V1 = c("A","B","A"), V2 = c("B","A","C"), V3 = c("A","C","B"))
net <- build_network(seqs, method = "relative")
init_probs <- extract_initial_probs(net)
print(init_probs)

}
\seealso{
\code{\link{extract_transition_matrix}} for extracting the transition matrix,
\code{\link{extract_edges}} for extracting an edge list.
}
