no_exposure {cvasi} | R Documentation |
Zero exposure
Description
Creates an ExposureSeries with zero concentration. When setting the zero exposure, pay attention not to accidentally reset the output times of your scenario as the zero exposure series contains only a single time point. See the examples.
Usage
no_exposure()
Value
an S4 object of type ExposureSeries
See Also
Examples
# this will reset the output times of the sample scenario,
# simulate() will quit with an error
try(
minnow_it %>%
set_exposure(no_exposure()) %>%
simulate()
)
# set zero exposure, but keep original output times
minnow_it %>%
set_exposure(no_exposure(), reset_times=FALSE) %>%
simulate()
[Package cvasi version 1.1.3 Index]