% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/markov.R
\name{createMarkovModelFromSingleState}
\alias{createMarkovModelFromSingleState}
\title{Create the parts of a Markov model for transitioning from a single state}
\usage{
createMarkovModelFromSingleState(transitionRow, stateNames)
}
\arguments{
\item{transitionRow}{a single-element named list with a named vector of all transitions}

\item{stateNames}{a named vector of state names where the name is the name for use in the model parameters}
}
\value{
A list with two elements, "ini" and "model", where each element is
  a character vector of lines of code for the model
}
\description{
Create the parts of a Markov model for transitioning from a single state
}
\seealso{
Other Markov models:
\code{\link[=createMarkovModel]{createMarkovModel()}},
\code{\link[=createMarkovModelDataset]{createMarkovModelDataset()}},
\code{\link[=createMarkovTransitionMatrix]{createMarkovTransitionMatrix()}},
\code{\link[=simMarkov]{simMarkov()}},
\code{\link[=simMarkovId]{simMarkovId()}}
}
\concept{Markov models}
\keyword{Internal}
