ExpectedValue: A Markov function to compute expected value

Description Usage Arguments Value

Description

Computes the expected value from a Markov transition array

Usage

1
ExpectedValue(trans, rwd, r = 0, half = TRUE, verbose = FALSE)

Arguments

trans

Markov transition array generated by 'CalculateMarkovTrace' function

rwd

Matrix or array with state rewards (diagonal) and transition rewards

r

Discount factor in the scale of a cycle [0, 1]; default = 0

half

If TRUE apply Half cycle correction. Defaults to TRUE

verbose

If TRUE messages are printed. Defaults to FALSE

Value

exp.value Expected value


feralaes/dampack documentation built on May 16, 2019, 12:48 p.m.