makeDecTable
given a directory or set of directories, will stitch together info for decision table of 3x3 dimensions
1 2 3 4 5 6 7 8 9 10 11 12 | makeDecTable(
rootdir,
state_names = c("low", "base", "high"),
catch_names = c("constant", "ABC", "upper"),
years,
baseCatch,
row1Catch,
row3Catch,
round = T,
writeTable = F,
writeloc = getwd()
)
|
rootdir |
a master folder with all nine executed models. |
state_names |
three names referring to the states of nature, which must match names of the directories. defaults to low/base/high |
catch_names |
three names referring to the catch scenarios, which must match names of the directories. defaults to constant/ABC/upper |
years |
a vector of years for which you'd like output |
baseCatch |
a vector of catch values used for the base case model(s) (center row) – must match length(years) |
row1Catch |
a vector of catch values used for the first row model(s) (typically constant or lower stream) |
row3Catch |
a vector of catch values used for the first row model(s) (typically constant or lower stream) |
round |
logical, defaults to TRUE |
writeTable |
logical, defaults to FALSE |
writeloc |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.