Description Usage Arguments Details
Convert data to exported from stox to eca format. Save results to project data 'prepareRECA'
1 2 3 | prepareRECA(projectName, resultdir = NULL, minage = 1, maxage = 20,
delta.age = 0.001, maxlength = NULL, hatchDaySlashMonth = "01/01",
temporalresolution = 92, overwrite = T)
|
projectName |
name of stox project |
resultdir |
location where R-ECA will store temporal files. Defaults (if null) to a subdirectory of getProjectPaths(projectName)$RDataDir called 'reca' whcih will be created if it does not already exist |
minage |
see specification for GlobalParameters in |
maxage |
see specification for GlobalParameters in |
delta.age |
see specification for GlobalParameters in |
maxlength |
maximum length of fish in the data set in cm. If null the value will be extracted from the data. |
hatchDaySlashMonth |
reference day for assumed spawning time of fish, formatted as day / month. Used to estimate fractional age of fish. |
temporalresolution |
temporal resolution for the aggregated landings in days (used to set midSeason the Landings object for |
overwrite |
logical if true, projectData for prepareRECA and runRECA will be nulled before running, and resultdir will be cleaned of any existing output files located in subdirectories cfiles and resfiles. |
Most parameters to this funciton are set as named members of a list which is passed as argument GlobalParameters to eca.estimate
The parameters minage and maxage define the range of ages that are considered possible in the model. Because R-ECA integrates weight and length measurements, and allows for modelling errors in age determination, predicted ages might fall outside the age range in samples. minage and maxage should be set with this in mind.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.