Vector of fleet numbers, where the order of
fleets will dictate the order of all remaining arguments.
Nsamp
A list of length length(fleets),
where each element of the list contains a vector of
sample sizes for each year for that given fleet.
years
A list of length length(fleets),
where each element of the list contains a vector of
years for the given fleet.
cpar
A vector of cpar for each fleet.
type
A character value of "agecomp" or "lcomp",
to write age- or length-composition specifications, respectively.
Argument can be a vector (e.g., c("agecomp", "lcomp")) if you want
the case files to be the same for length
case
The casenumber you want to write to.
If case = 1 and type = "agecomp",
then the result will be 'agecomp1'.
spp
A vector of character values argument specifying the species.