findBetween: Determines how close estimates are to a true value
Description
Function used when constructing profile likelihoods. This determines between which variance estimates a confidence limit sits and if this is within a certain threshold.
Usage
findBetween(x, output, side = "L", threshb)
Arguments
x
the critical value to search for
output
output from constrainFun
side
a character indicating whether the "L" lower or "U" upper confidence limits should be searched
threshb
the threshold for determining if an estimate is close enough to x