FLQuants: Class FLQuants

FLQuantsR Documentation

Class FLQuants

Description

FLQuants is a list of FLQuant objects. It is very similar to the standard list class. It implements a lock mechanism that, when turned on, does not allow the user to increase or decrease the object length. The elements of FLQuants must all be of class FLQuant.

Usage

FLQuants(object, ...)

## S4 method for signature 'ANY'
FLQuants(object, ...)

## S4 method for signature 'FLComp'
FLQuants(object, ...)

## S4 method for signature 'missing'
FLQuants(object, ...)

## S4 method for signature 'list'
FLQuants(object, ...)

## S4 method for signature 'FLQuants'
FLQuants(object, ...)

Arguments

object

unnamed object to be added to the list

...

other named or unnamed objects

Slots

.Data

The data. list.

names

Names of the list elements. character.

desc

Description of the object. character.

lock

Lock mechanism, if turned on the length of the list can not be modified by adding or removing elements. logical.

Constructor

A constructor method exists for this class that can take named arguments for any of the list elements.

Author(s)

The FLR Team

See Also

*, Arith, as.data.frame, bubbles, catch<-, iter, model.frame, show, summary, xyplot, FLlst, list

Examples


# Compute various FLStock indicators
  data(ple4)
  fqs <- FLQuants(ssb=ssb(ple4), catch=catch(ple4), rec=rec(ple4),
    f=fbar(ple4))
  summary(fqs)
  xyplot(data~year|qname, fqs, type='b', scales=list(relation='free'))


flr/FLCore documentation built on May 4, 2024, midnight