Description Usage Arguments Value Examples
Reward transformation of continuous phase-type distribution into a discrete phase-type distribution.
1 | RewTransform(mph_obj, rewards, theta)
|
mph_obj |
multivariate phase-type object generated either from mult_phase_type or kingsman function |
rewards |
vector of non negative numbers |
theta |
mutation parameter (positive number) |
A list containing keys 'subint_mat', 'init_probs' and 'defect'
1 2 3 4 5 | n = 5
mphobj = kingsman(n)
reward_length = length(mphobj$init_probs)
transformed = RewTransform(mphobj, 0:(reward_length-1), 2)
transformed$subint_mat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.