summary.mult_disc_phase_type {PhaseTypeR} | R Documentation |
Pretty summary of the mult_dist_phase_type
class.
Description
Pretty summary of the mult_dist_phase_type
class.
Usage
## S3 method for class 'mult_disc_phase_type'
summary(object, ...)
Arguments
object |
a mult_dist_phase_type object |
... |
other arguments passed to methods |
Value
This function prints a nicely-formatted summary of
a mult_dist_phase_type
object. The summary includes the
sub-intensity matrix, the initial probabilities, the defect,
the reward matrix,
the mean and the (co)variance of the phase-type object.
Examples
subint <- matrix(c(0.4, 0, 0.2,
0.5, 0.3, 0.2,
0, 0.7, 0.2), ncol = 3)
R <- matrix(c(0, 1, 1,
2, 1, 5,
0, 1, 10,
1, 2, 3), nrow = 3)
mdph <- MDPH(subint, reward_mat = R)
summary(mdph)
[Package PhaseTypeR version 1.0.4 Index]