getMinError: Get Min on sigma2_error

View source: R/utils.R

getMinErrorR Documentation

Get Min on sigma2_error

Description

Find reasonable minimum on the sigma2_error parameter.

Usage

getMinError(phy, tol = (.Machine$double.eps)^0.5)

Arguments

phy

a phylogenetic tree.

tol

the numerical tolerance

Details

The minimum value must be high enough so that it can be numerically distinguished from zero. Default to tol * h, where h is the total height of the tree. If an OU is used, then this value is updated to match the transformed tree height.

Value

The minimum value for sigma2_error


pbastide/phylolimma documentation built on Nov. 17, 2024, 1:34 p.m.