markov_chain: Instantiate Markov chain object and set the transition kernel

Description Usage Arguments Value

View source: R/markov_chain.R

Description

This is an S3 object constructor helper function for class markov_chain

Usage

1
markov_chain(initial_value, transition_kernel)

Arguments

transition_kernel,

function for the transition kernel of the Markov process, which takes the current state and returns the next state of the process

intial_value,

numeric for initial state of chain, list for multiple named parameters

Value

markov_chain object


JTT94/cpmmc documentation built on May 14, 2019, 12:08 p.m.