summary.mult_cont_phase_type | R Documentation |
mult_cont_phase_type
class.Pretty summary of the mult_cont_phase_type
class.
## S3 method for class 'mult_cont_phase_type' summary(object, ...)
object |
a mult_cont_phase_type object |
... |
other arguments passed to methods |
This function prints a nicely-formatted summary of
a mult_cont_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.
subint <- matrix(c(-3, 0, 1, 2, -3, 1, 1, 1, -2), ncol = 3) R <- matrix(c(0, 1, 1, 2, 2, 1, 5, 2, 0, 1, 10, 2), nrow = 3, ncol=4, byrow=TRUE) mph <- MPH(subint, reward_mat = R) summary(mph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.