case_fishing {ss3sim} | R Documentation |
Write a case file for fishing data to the disk.
Description
Use R code to write arguments to the disk, which will later be used in a ss3sim simulation.
Usage
case_fishing(years = 1, years_alter = NULL, fvals = 2, case, spp)
Arguments
years |
Vector of years for which F values are specified,
if there is more than one fleet or season the catches must be ordered by
season:year:fishery (e.g., season1year1fishery1, season2year1fishery1,
season1year2fishery1). The actual vector does not have to correspond to
true years but must be the correct length (e.g., instead of
|
years_alter |
Vector of years for the which F values will be altered.
If there is more than one fishery or season, use the mapping system
created in |
fvals |
Vector of F values to be entered into |
case |
The case number you want to write to.
If |
spp |
A vector of character values argument specifying the species. |
Examples
case_fishing(1:100, 1:100, seq(0, 0.4, length.out = 100), 2, "cod")
done <- file.remove("F2-cod.txt")