Learn R Programming

PhylogeneticEM (version 1.8.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), ...)

Value

character : "BM" or "OU"

Arguments

process

: "BM" or "OU"

selection.strength

the selection strength parameter (if OU)

eps

the tolerance for the selection strength

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.