check.selection.strength: Check selection strength

View source: R/generic_functions.R

check.selection.strengthR Documentation

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 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.

Value

character : "BM" or "OU"


pbastide/PhylogeneticEM documentation built on Feb. 12, 2024, 1:27 a.m.