% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/markov.R
\name{simMarkovId}
\alias{simMarkovId}
\title{Simulate a Markov model broken down by ID}
\usage{
simMarkovId(data, initialState, prCols)
}
\arguments{
\item{data}{A data.frame for the individual with columns for each of the
state transition probabilities}

\item{initialState}{The initial Markov state}

\item{prCols}{A named list of probability columns. List names are the
previous state, and list values are a character vector of probability
columns.}
}
\value{
A data.frame with two columns named "prev" and "cur"
}
\description{
Simulate a Markov model broken down by ID
}
\seealso{
Other Markov models:
\code{\link[=createMarkovModel]{createMarkovModel()}},
\code{\link[=createMarkovModelDataset]{createMarkovModelDataset()}},
\code{\link[=createMarkovModelFromSingleState]{createMarkovModelFromSingleState()}},
\code{\link[=createMarkovTransitionMatrix]{createMarkovTransitionMatrix()}},
\code{\link[=simMarkov]{simMarkov()}}
}
\concept{Markov models}
\keyword{Internal}
