Skip to contents

Helper function that will retrieve the forcing parameters that were used in an Rsim scenario

Usage

get.rsim.forcing(Rsim.scenario)

Arguments

Rsim.scenario

Scenario object that contains all of the rsim rates and forcing functions generated by rsim.scenario().

Value

Returns a `forcing` object.

See also

Examples

# Read in Rpath parameter file and generate balanced model
Rpath <- rpath(AB.params)
# Create a 50 yr Rsim scenario
Rsim.scenario <- rsim.scenario(Rpath, AB.params, years = 1:50)
params <- get.rsim.forcing(Rsim.scenario)
names(params)
#> [1] "ForcedPrey"    "ForcedMort"    "ForcedRecs"    "ForcedSearch" 
#> [5] "ForcedActresp" "ForcedMigrate" "ForcedBio"