Learn R Programming

cvasi (version 1.4.0)

set_times: 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)

Value

Vector of modified scenarios

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.

See Also

Examples

Run this code
# 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))

Run the code above in your browser using DataLab