is.in.ranges: 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.