realisations | R Documentation |
Returns the unique fishery realisations.
Essentially this is the contents of the freq
slot of an MFCLFrq
object
without the replications for each length or weight category.
A wrapper for read.fishmort Reads the fishing mortality from the fishmort file that is output by Multifan-CL. The fishing mortality in the fishmort file is by region, time period, fishing incident and age. This function returns the fishing mortality by region, year, season, fishery and age. The fishmort file provides fishing mortality on a log scale. The read.MFCLfishmort() function transforms them to 'normal' scale (or whatever it's called). Note that summing these fishing mortalities by region, time and age period yields the same values as reported in the 'fm' slot of an MFCLRep object. But summing by time and age does not yield the same values as in the 'fm_aggregated' slot which seems to be something to do with the yield analysis.
realisations(object, ...)
read.MFCLfishmort(file, frq, rep, ...)
object |
An object of class MFCLLenFreq. |
... |
Currently ignored. |
file |
A character string giving the name and path of the fishmort file to be read in. |
frq |
An MFCLFrq object. |
rep |
An MFCLRep object. |
An object of class data.frame.
An object of class data.frame.
read.MFCLFrq
read.MFCLFrq, read.MFCLRep
## Not run:
realisations(frq)
## End(Not run)
## Not run:
read.MFCLfishmort('path/to/fishmort', frq, rep)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.