Closed droglenc closed 3 years ago
working on issue in "conf_level" branch.
@droglenc I believe I have addressed the conf.check at all necessary locations and added new tests for each function that was affected. I do not have a comparisonsDVR.R file and it looks like the compSlopes() and compIntercepts() functions were removed based on FSA-defunct.R. Would they be in another location? If not, I'll do one last check and submit a pull request.
@jcdoll79 When I made those functions defunct, I took them out of FSA
(and put them in FSAmisc
, for safe keeping). You don't need to do anything more with them. I should have commented about this on this issue earlier. Sorry. Thanks.
Several functions use
conf.level=
and most of them have the following "checking" code ...I suggest creating an internal function (to be in FSAInternals.R) called
iCheckConfLevel()
that will first check to make sureconf.level
isnumeric
and then perform this check. It may look like this ...Functions that currently perform this check that could be replaced with
iCheckConfLevel()
are ...bootCase()
catchCurve()
chapmanRobson()
binCI()
,hyperCI()
,poiCI()
(in CIDists.R)depletion()
mrClosed()
mrOpen()
removal()
Functions that may use
conf.level=
but don't appear to check anything are ...compSlopes()
andcompIntercepts()
(in comparisonsDVR.R)fitPlot()
psdCalc()
psdCI()