summary.disc_phase_type: Pretty summary of the 'disc_phase_type' class.

View source: R/summary.R

summary.disc_phase_typeR 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)


PhaseTypeR documentation built on July 21, 2022, 5:10 p.m.