Skip to contents

Create the parts of a Markov model for transitioning from a single state

Usage

createMarkovModelFromSingleState(transitionRow, stateNames)

Arguments

transitionRow

a single-element named list with a named vector of all transitions

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