USEPA / CompTox-ToxCast-tcplFit2

Performs basic concentration response curve fitting
https://cran.r-project.org/package=tcplfit2
Other
1 stars 0 forks source link

BMD boundary check for BMD censoring arguments & update documentation #49

Closed sedavid01 closed 9 months ago

sedavid01 commented 9 months ago

The current arguments for bmd censoring are unrestricted in their values. Thus, users can input values that actually do not make sense for the purpose of those arguments.

Goal: Add checks within tcplhit2_core function to ensure the multipliers for the bmd censoring arguments are within their allowable ranges. Also, update the documentation to better clarify what the boundaries are meant to do.

Note: We may want to put a warning for values that are super extreme. So b_l <= 1e-3 and b_u >=1000. (@kpaulfriedman may have an alternative suggestion for these extreme warning cases)

sedavid01 commented 9 months ago

Suggest warning message is something to the effect of:

sedavid01 commented 9 months ago

Pull request was approved and merged to 'dev'. Closing this ticket out.