is.in.ranges: Check whether parameters are in ranges.

View source: R/shutoff.R

is.in.rangesR Documentation

Check whether parameters are in ranges.

Description

is.in.ranges.params checks whether calculated parameters in the EM are in the defined ranges.

Usage

is.in.ranges(p, min, max)

Arguments

p

list of parameters with the correct structure

min

list of minimum values for the parameters

max

list of maximum values for the parameters

Details

This function is used to test the convergence of the algorithm.

Value

boolean


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