Learn R Programming

PhaseTypeR (version 1.0.4)

summary.cont_phase_type: Pretty summary of the cont_phase_type class.

Description

Pretty summary of the cont_phase_type class.

Usage

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

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.

Arguments

object

a cont_phase_type object

...

other arguments passed to methods

Examples

Run this code

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

summary(ph)

Run the code above in your browser using DataLab