Learn R Programming

PhaseTypeR (version 1.0.4)

summary.disc_phase_type: Pretty summary of the disc_phase_type class.

Description

Pretty summary of the disc_phase_type class.

Usage

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

Value

This function prints a nicely-formatted summary of a disc_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 disc_phase_type object

...

other arguments passed to methods

Examples

Run this code

dph <- DPH(matrix(c(0.4, 0, 0.2,
                    0.5, 0.3, 0.2,
                    0, 0.7, 0.2), ncol = 3))

summary(dph)

Run the code above in your browser using DataLab