Learn R Programming

pedmut (version 0.8.0)

maxRate: 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)

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.

Arguments

alleles

A character vector with allele labels.

afreq

A numeric vector of allele frequencies.

range

A positive number.

Author

Thore Egeland.