bmdobj {tcplfit2} | R Documentation |
BMD Objective Function
Description
Utility function for bmdbounds
Usage
bmdobj(bmd, fname, bmr, conc, resp, ps, mll, onesp, partype = 2)
Arguments
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. |
Value
Objective function value to find the zero of.
[Package tcplfit2 version 0.1.6 Index]