summary.cont_phase_type {PhaseTypeR}R Documentation

Pretty summary of the cont_phase_type class.

Description

Pretty summary of the cont_phase_type class.

Usage

## S3 method for class 'cont_phase_type'
summary(object, ...)

Arguments

object

a cont_phase_type object

...

other arguments passed to methods

Value

This function prints a nicely-formatted summary of a cont_phase_type object. The summary includes the sub-intensity matrix, the initial probabilities, the defect, the mean and the variance of the phase-type object.

Examples


ph <- PH(matrix(c(-3, 0, 1,
               2, -3, 1,
               1, 1, -2), ncol = 3))

summary(ph)


[Package PhaseTypeR version 1.0.4 Index]