bmdobj | R Documentation |
Utility function for bmdbounds
bmdobj(
bmd,
fname,
bmr,
conc,
resp,
ps,
mll,
onesp,
partype = 2,
poly2.biphasic = TRUE,
x_v
)
bmd |
Benchmark dose. |
fname |
Function name: "exp2", "exp3", "exp4", "exp5", "hillfn", "gnls", "poly1", "poly2", or "pow". |
bmr |
Benchmark response. |
conc |
Vector of concentrations NOT in log units. |
resp |
Vector of corresponding responses. |
ps |
Named list of parameters. |
mll |
Maximum log-likelihood of winning model. |
onesp |
One-sided p-value. |
partype |
Number for parameter type. Type 1 is y-scaling: a or tp. Type 2 is x-scaling: b or ga, when available, a otherwise. Type 3 is power scaling: p when available, then b or ga, then a if no others. Since bmd is linked to the x-scale, type 2 should always be used. Other types can also be vulnerable to underflow/overflow. |
poly2.biphasic |
If poly2.biphasic = TRUE, constraints are set to allow for the polynomial 2 model fit to be bi-phasic (i.e. non-monotonic). |
x_v |
The vertex of the quadratic/parabolic fit. Only in use when estimating the BMDL and BMDU values for the "poly2" model when poly2.biphasic = TRUE. No default is set. |
Objective function value to find the zero of.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.