Generate subintensity matrix, vector of initial probabilites and defect for any frequency count

itons(mph_obj, i, theta)

Arguments

mph_obj

Multivariate Phase Type object generated either from mult_phase_type or kingsman function

i

Frequency count (positive integer)

theta

mutation parameter (positive)

Value

A `disc_phase_type` object containing subintensity matrix (P), vector of initial probabilities (alpha) and defect (probability of not entering any transient state prior to absorption)

Examples

itons(kingsman(4), i = 2, theta = 2)
#> $subint_mat #> [,1] [,2] #> [1,] 0.25 0.1666667 #> [2,] 0.00 0.6666667 #> #> $init_probs #> [,1] [,2] #> [1,] 1 0 #> #> $defect #> [1] 0 #> #> attr(,"class") #> [1] "disc_phase_type"