initial_state: Simulate the initial state given an initial...

initial_stateR Documentation

Simulate the initial state given an initial measure/distribution

Description

A basic sampling scheme based of uniform RVs and the given measure.

Usage

initial_state(mu)

Arguments

mu

the initial probability measure, a vector whose entries sum to unity

Value

integer which represents the state


shill1729/markovChains documentation built on April 24, 2022, 11:50 a.m.