Learn R Programming

PhylogeneticEM (version 1.0.0)

check.selection.strength: Check selection strength

Description

check.selection.strength checks, if the process is an OU, if the selection strength is not too low, in which case the process is replaced with a BM.

Usage

check.selection.strength(process, selection.strength = NA, eps = 10^(-6), ...)

Arguments

process
: "BM" or "OU"
selection.strength
the selection strength parameter (if OU)
eps
the tolerence for the selection strength

Value

character : "BM" or "OU"

Details

This function return a process in a form of a character. If the entry process is "BM", then nothing is done. If it is "OU", then the verification of the selection strength is done.