FLStock {FLCore} | R Documentation

## Create FLStock objects

### Description

Constructor method for the FLStock class

### Arguments

object
  An initial FLQuant only used for sizing.
plusgroup
  The age/length to be considered as plusgroup.
...
  Extra objects to be allocated to given slots.

### Generic function

FLStock(object, ...)

### Methods

signature(object=missing) :
  Returns an `FLStock` using the first provided argument of class `FLQuant` for object sizing, or `FLQuant()` if none given.
signature(object=FLQuant) :
  Returns and `FLStock` that uses object only for sizing.

### Author(s)

The FLR Team

### See Also

FLComp

### Examples

    fls <- FLStock(name='MAC', catch=FLQuant(c(200,300,400), dimnames=list(year=1999:2001)))

[Package FLCore version 2.2 Index]