get_gamma_rates: Discretized Gamma distribution

View source: R/get_gamma_rates.R

get_gamma_ratesR Documentation

Discretized Gamma distribution

Description

This function discretizes the Gamma distribution and is used to simulate heterogeneous fossil preservation via multiplication with the preservation rate

Usage

get_gamma_rates(alpha, Ncat)

Arguments

alpha

i.e. the shape and rate of the Gamma distribution

Ncat

Number of categories for the discretized Gamma distribution

Value

Discretized Gamma distribution

Author(s)

Torsten Hauffe

References

Yang, Z. (1993). Maximum-likelihood estimation of phylogeny from DNA sequences when substitution rates differ over sites. Molecular Biology and Evolution 10(6): 1396-1401.


thauffe/simDES documentation built on June 29, 2023, 7:05 a.m.