Helper function that will retrieve the parameters that were used in an Rsim scenario
Arguments
- Rsim.scenario
Scenario object that contains all of the rsim rates and forcing functions generated by
rsim.scenario()
.
See also
Other Get functions:
get.rsim.fishing()
,
get.rsim.forcing()
,
get.rsim.stanzas()
,
get.rsim.start_state()
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.params(Rsim.scenario)
names(params)
#> [1] "NUM_GROUPS" "NUM_LIVING" "NUM_DEAD" "NUM_GEARS"
#> [5] "NUM_BIO" "spname" "spnum" "B_BaseRef"
#> [9] "MzeroMort" "UnassimRespFrac" "ActiveRespFrac" "FtimeAdj"
#> [13] "FtimeQBOpt" "PBopt" "NoIntegrate" "HandleSelf"
#> [17] "ScrambleSelf" "PreyFrom" "PreyTo" "QQ"
#> [21] "DD" "VV" "HandleSwitch" "PredPredWeight"
#> [25] "PreyPreyWeight" "NumPredPreyLinks" "FishFrom" "FishThrough"
#> [29] "FishQ" "FishTo" "NumFishingLinks" "DetFrac"
#> [33] "DetFrom" "DetTo" "NumDetLinks" "BURN_YEARS"
#> [37] "COUPLED" "RK4_STEPS" "SENSE_LIMIT"