Creates a random fwdControl object for testing purposes
random_fwdControl_generator(
years = 1:round(runif(1, min = 2, max = 3)),
nseasons = 2,
max_nsim_target = 3,
niters = round(runif(1, min = 5, max = 10))
)
Arguments
- years
numeric vector of years in the control object. Default value is 1:random interger (max = 10).
- nseasons
number of seasons in the projection
- max_nsim_target
maximum number of simultaneous targets in each timestep
- niters
the number of iterations. Default number is random integer (max = 10).
Value
A fwdControl object