genericMethods: realisations

realisationsR Documentation

realisations

Description

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.

Usage

realisations(object, ...)

read.MFCLfishmort(file, frq, rep, ...)

Arguments

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.

Value

An object of class data.frame.

An object of class data.frame.

See Also

read.MFCLFrq

read.MFCLFrq, read.MFCLRep

Examples

## Not run: 
realisations(frq)

## End(Not run)
## Not run: 
read.MFCLfishmort('path/to/fishmort', frq, rep)

## End(Not run)

robscott3/FLR4MFCL documentation built on March 30, 2025, 12:02 a.m.