summary.discphasetype: Summaries of phase-type distributed objects

Description Usage Arguments Value See Also Examples

View source: R/DocumentationSummaries.R

Description

This summary function is a method that depends on the class of the argument. For objects of class discphasetype or contphasetype, summary prints the initial distribution and the sub-transition/sub-intensity matrix of the phase-type representation.

Usage

1
2
3
4
5
## S3 method for class 'discphasetype'
summary(object)

## S3 method for class 'contphasetype'
summary(object)

Arguments

object

an object for which a summary is desired. To be able to use the summaries for phase-type distributed objects,the object has to be of class discphasetype or contphasetype.

Value

summary prints the initial distribution and the sub-transition/sub-intensity matrix of the phase-type representation. If the sum of all entries in the initial distribution is less than one, it also prints the defect size (1-sum(initDist)).

See Also

summary, summary.glm, summary.lm.

Examples

1
2
3
## Summarising the distribution for the total branch length
## for a sample of size n=10
summary(T_Total$n10)

aumath-advancedr2019/PhaseTypeGenetics documentation built on Dec. 3, 2019, 7:16 a.m.