The package documentation
PhaseTypeGenetics
PhaseTypeGenetics: A package providing several properties of the phase-type distribution with applications in population genetics
Analysing phase-type distributions
discphasetype() contphasetype()
discphasetype()
contphasetype()
Phase-type distributed objects
dphasetype() pphasetype() qphasetype() rphasetype()
dphasetype()
pphasetype()
qphasetype()
rphasetype()
The phase-type distribution
minima() maxima()
minima()
maxima()
Minima and maxima of phase-type distributions
phmean() phvar()
phmean()
phvar()
Mean and variance of phase-type distributions
moments()
Statistical moments of phase-type distributions
phsum()
Sum of phase-type distributions
summary(<discphasetype>) summary(<contphasetype>)
summary(<discphasetype>)
summary(<contphasetype>)
Summaries of phase-type distributed objects
The package includes some functions that are useful in connection to population genetics
BlockCountProcess()
Block counting process
discretization()
Discretizing a continuous phase-type distribution
dSegregatingSites()
The number of segregating sites
RewTransDistribution()
Reward transformation
SiteFrequencies()
Site frequency spectrum
T_MRCA
The time to the most recent common ancestor (MRCA) for a sample size of n = 5,10,20,50 and 100.
T_Total
The total branch length for a sample size of n = 5,10,20,50 and 100.