View source: R/class-ExposureSeries.R
no_exposure | R Documentation |
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.
no_exposure()
an S4 object of type ExposureSeries
set_noexposure()
# 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.