Learn R Programming

matrixdist (version 1.1.2)

initialState: Initial state of Markov jump process

Description

Given the accumulated values of the initial probabilities Pi and a uniform value u, it returns the initial state of a Markov jump process

Usage

initialState(cumulatedPi, u)

Arguments

cumulatedPi

A vector

u

A random value in (0,1)

Value

The initial state of the Markov jump process