prebayesnecfit
objects.R/expand_classes.R
expand_manec.Rd
Extracts a range of statistics from a list of prebayesnecfit
objects.
expand_manec(
object,
formula,
x_range = NA,
resolution = 1000,
sig_val = 0.01,
loo_controls
)
A list
of objects of class
prebayesnecfit
.
Either a character
string defining an
R formula or an actual formula
object. See
bayesnecformula
and check_formula
. It could also
be a list
of formulas if multiple objects are passed to
object
.
A range of predictor values over which to consider extracting ECx.
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.
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.
A named list
of two elements
("fitting" and/or "weights"), each being a named list
containing the desired arguments to be passed on to loo
(via "fitting") or to loo_model_weights
(via "weights").
If "weights" is
not provided by the user, bnec
will set the default
method
argument in loo_model_weights
to
"pseudobma". See ?loo_model_weights
for further info.
A list
of model statistical output derived from
the input model list.