maxRate: Upper limits for overall mutation rate for the stepwise...

View source: R/stepwiseReversible.R

maxRateR Documentation

Upper limits for overall mutation rate for the stepwise reversible model.

Description

Upper limits for overall mutation rate for the stepwise reversible model.

Usage

maxRate(alleles, afreq, range)

Arguments

alleles

A character vector with allele labels.

afreq

A numeric vector of allele frequencies.

range

A positive number.

Value

A vector of two numbers named UW and UB. The first of these is the maximum overall mutation rate for a well-defined stepwise reversible mutation matrix with the given input. The latter (UB) is the upper limit of the overall mutation rate under the additional restraint that the model is bounded by afreq.

Author(s)

Thore Egeland.


magnusdv/pedmut documentation built on Jan. 31, 2024, 7:06 a.m.