powered by
Use R code to write arguments to the disk, which will later be used in a ss3sim simulation.
case_index(fleets = 1, years = NULL, sd = 2, case, spp)
Vector of fleet numbers, where the order of fleets will dictate the order of all remaining arguments.
fleets
A list of length length(fleets), where each element of the list contains a vector of years for the given fleet.
length(fleets)
A list of standard deviations for each fleet.
The case number you want to write to. If case = 1, then the result will be 'index1'.
case = 1
'index1'
A vector of character values argument specifying the species.
# NOT RUN { case_index(fleets = 2, case = 1, spp = "cod", years = list(7:10), sd = 0.1) done <- file.remove("index1-cod.txt") # }
Run the code above in your browser using DataLab