summary.disc_phase_type {PhaseTypeR}R Documentation

Pretty summary of the disc_phase_type class.

Description

Pretty summary of the disc_phase_type class.

Usage

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

Arguments

object

a disc_phase_type object

...

other arguments passed to methods

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.

Examples


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

summary(dph)


[Package PhaseTypeR version 1.0.4 Index]