mc.sim: Generating next state

Description Usage Arguments Value

View source: R/code.R

Description

Function for generating next state after x1 from a transition matrix P.

Usage

1
mc.sim(P,x1)

Arguments

P

Transition matrix.

x1

Numeric value that represents the current state.

Value

A numeric value that represents the next state after x1.


kgolmakani/cRisk documentation built on May 4, 2019, 6:30 a.m.