Summary of a bayesnechurdlefit

# S3 method for class 'bayesnechurdlefit'
summary(object, ..., ecx = FALSE, ecx_vals = c(10, 50, 90))

Arguments

object

An object of class bayesnechurdlefit.

...

Passed to nec and ecx for each component, so that xform in particular applies to every estimate in the table. x_range is the exception: it is passed to ecx only, and must be given by its full name. See Details.

ecx

Should ECx estimates be included? Defaults to FALSE.

ecx_vals

The ECx levels to report.

Value

An object of class hurdlesummary.

Details

The no-effect estimate is reported for all three endpoints and labelled by type: NEC where the component's model set is entirely threshold models, NSEC where it is entirely smooth ones, and N(S)EC where it is a mixture (Fisher et al. 2023). The combined estimate is the smaller of the two component estimates per posterior draw, so it is a pure NEC only where both components are; see nec.bayesnechurdlefit.

With ecx = TRUE, every ECx row is read over the prediction grid stored with the survival component, which covers the whole concentration series. This is the range ecx.bayesnechurdlefit reads every curve over by default, so each row agrees with a bare ecx call for the same curve. A growth ECx above the highest concentration at which anything survived is reported as a value, as it is by ecx. Where the survival component stores no grid, the rows are read over the grid ecx builds by default. An x_range supplied in ... replaces those grids for all three curves, and sets the grid of the ECx rows only. x_range = NULL leaves ecx to build its own grid, as it does where a component stores none. The argument must be given by its full name, because an abbreviation can be ignored without a message.

x_range is not passed to nec, because each no-effect estimate is read from the posterior stored when its component was fitted, and is censored at the bound of the prediction grid stored then. To report a no-effect estimate beyond that bound, supply extrapolate, which is passed to nec.

References

Fisher R, Fox DR, Negri AP, van Dam J, Flores F, Koppel D (2023). Methods for estimating no-effect toxicity concentrations in ecotoxicology. Integrated Environmental Assessment and Management. doi: 10.1002/ieam.4809.