expand_nec {bayesnec} | R Documentation |
Extracts a range of statistics from a prebayesnecfit
object.
Description
Extracts a range of statistics from a prebayesnecfit
object.
Usage
expand_nec(
object,
formula,
x_range = NA,
resolution = 1000,
sig_val = 0.01,
loo_controls,
...
)
Arguments
object |
An object of class |
formula |
Either a |
x_range |
A range of predictor values over which to consider extracting ECx. |
resolution |
The length of the predictor vector used for posterior predictions, and over which to extract ECx values. Large values will be slower but more precise. |
sig_val |
Probability value to use as the lower quantile to test significance of the predicted posterior values against the lowest observed concentration (assumed to be the control), to estimate NEC as an interpolated NOEC value from smooth ECx curves. |
loo_controls |
A named |
... |
Further arguments to internal function. |
Value
A list
of model statistical output derived from
the input model object.