amend {bayesnec} | R Documentation |
bayesmanecfit
object, for example, by
adding or removing fitted models.Amends an existing bayesmanecfit
object, for example, by
adding or removing fitted models.
amend(
object,
drop,
add,
loo_controls,
x_range = NA,
precision = 1000,
sig_val = 0.01,
priors
)
object |
An object of class |
drop |
A |
add |
A |
loo_controls |
A named |
x_range |
A range of predictor values over which to consider extracting ECx. |
precision |
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. |
priors |
An object of class |
All successfully fitted bayesmanecfit
model fits.
library(bayesnec)
data(manec_example)
exmp <- amend(manec_example, drop = "nec4param")