Learn R Programming

r4ss (version 1.16)

SS_makedatlist: make a list for SS data

Description

create a list similar to those built by SS_readdat which can be written to a Stock Synthesis data file using SS_writedat. In hindsight, this function doesn't seem very useful and I haven't taken time to describe the arguments below.

Usage

SS_makedatlist(styr = 1971, endyr = 2001, nseas = 1, months_per_seas =
12, spawn_seas = 1, Nfleet = 1, Nsurveys = 1, N_areas = 1, fleetnames =
c("fishery1", "survey1"), surveytiming = 0.5, areas = 1, units_of_catch
= 1, se_log_catch = 0.01, Ngenders = 2, Nages = 40, init_equil = 0,
catch = NULL, CPUE = NULL, discard_units = 2, discard_data = NULL,
meanbodywt = NULL, lbin_method = 2, binwidth = 2, minimum_size = 2,
maximum_size = 90, comp_tail_compression = -1e-04, add_to_comp = 1e-04,
max_combined_lbin = 0, lbin_vector = seq(22, 90, 2), lencomp = NULL,
agebin_vector = 1:25, ageerror = data.frame(rbind(0:40 + 0.5, 0.001,
0:40 + 0.5, seq(0.525, 2.525, 0.05))), agecomp = NULL, Lbin_method = 3,
max_combined_age = 1, MeanSize_at_Age_obs = NULL, N_environ_variables =
0, N_environ_obs = 0, N_sizefreq_methods = 0, tag_data = 0,
morphcomp_data = 0)

Arguments

styr
start year of the model
endyr
end year of the model
nseas
number of seasons
months_per_seas
months per seasons
spawn_seas
spawning season
Nfleet
number of fishing fleets
Nsurveys
number of surveys
N_areas
number of areas
fleetnames
names of fleets
surveytiming
vector of survey timings
areas
area definitions for each fleet or survey
units_of_catch
units of catch for each fleet
se_log_catch
... description to be added ...
Ngenders
... description to be added ...
Nages
... description to be added ...
init_equil
... description to be added ...
catch
... description to be added ...
CPUE
... description to be added ...
discard_units
... description to be added ...
discard_data
... description to be added ...
meanbodywt
... description to be added ...
lbin_method
... description to be added ...
binwidth
... description to be added ...
minimum_size
... description to be added ...
maximum_size
... description to be added ...
comp_tail_compression
... description to be added ...
add_to_comp
... description to be added ...
max_combined_lbin
... description to be added ...
lbin_vector
... description to be added ...
lencomp
... description to be added ...
agebin_vector
... description to be added ...
ageerror
... description to be added ...
agecomp
... description to be added ...
Lbin_method
... description to be added ...
max_combined_age
... description to be added ...
MeanSize_at_Age_obs
... description to be added ...
N_environ_variables
... description to be added ...
N_environ_obs
... description to be added ...
N_sizefreq_methods
... description to be added ...
tag_data
... description to be added ...
morphcomp_data
... description to be added ...

Value

    See Also

    SS_readdat, SS_writedat