set_times {cvasi}R Documentation

Set output times

Description

Minimum and maximum output times define the simulated period for a scenario. Simulation results will be returned for each output time, see simulate().

Usage

set_times(x, times)

Arguments

x

vector of scenarios

times

numerical vector

Details

Be aware that output times may be modified by set_exposure(). Precision of simulation results may be influenced by chosen output times, see simulate() for more information.

Value

Vector of modified ExposureScenario objects

See Also

simulate()

Examples

# Set simulated period to [2,4] with output intervals of length 1
minnow_it %>% set_times(c(2,3,4))

# Decrease output interval length to 0.1
minnow_it %>% set_times(seq(2, 4, 0.1))

[Package cvasi version 1.1.3 Index]