as.FLStock-FLBiol-method: Create an 'FLStock' object from 'FLBiol' and 'FLFishery' or...

as.FLStock,FLBiol-methodR Documentation

Create an FLStock object from FLBiol and FLFishery or FLFisheries

Description

A coertion method that returns a FLStock object by combining biological information contained in FLBiol and catch data from one of more FLFishery objects.

Usage

## S4 method for signature 'FLBiol'
as.FLStock(
  object,
  fisheries,
  full = TRUE,
  catch = rep(1, length(fisheries)),
  ...
)

Arguments

object

An object of class FLBiol.

fisheries

An object of classes FLFishery or FLFisheries.

full

Should fishing mortality be computed and added? Logical.

catch

Vector of the same length ad fisheries, indicating the position of the FLCatch objects that refer to the FLBiol. Defaults to the first one along all elements.

Details

Details: Aliquam sagittis feugiat felis eget consequat.

Value

An object of class FLStock.

Author(s)

The FLR Team

See Also

FLCore::FLStock

Examples

data(nsfishery)
as.FLStock(sol, nsfleet)

iagomosqueira/FLFishery documentation built on Nov. 10, 2023, 6:37 p.m.