FLQuants-class {FLCore}R Documentation

Class "FLQuants"

Description

This class encapsulates a list of "FLQuant" objects.

Creating Objects from the Class

Objects of this classe should be created with a call to the contructor function FLQuants(...), where ... can be a list of "FLQuant" objects of several "FLQuant".

Another way to create "FLQuants" is with the function mcf of FLDA which guarantees that all "FLQuant" objects have the same dimensions and dimnames.

Slots

No slots ! See details below.

Extends

Class "list", directly.

Methods

Inherits from "list".

xyplot:
Lattice method to plot several FLQuants it works by adding datasets on the right side of the formula, so plotting them over each other.
bubbles:
Lattice bubble plot method. Works over several FLQuants by plotting them over each other.
as.data.frame
Coerces "FLQuants" into "data.frame".
summary
Summarized information on the object.
tofrm:
Returns a formula based on the FLQuants dimnames. There are to options by=("year","age"), the first returns something like data~year|..., the second data~age|.... This function is used for automatic plot development and should not be used for users ploting. This will be deprecated in the future when all users can use fully xyplot methods.
[
signature(x = "FLQuants"): Subsets an FLQuants object.

Details

This class, together with other FLR classes which are named with the plural of some FLR class (e.g. "FLStocks"), are lists of those classes.

The idea was to provide a mechanism to hold several complex classes that could be used for exploratory analysis like setting a VPA model, or testing HCR procedures, etc.

The result is not satisfactory as these classes extend "list" and mix to programming paradigms quite different S3 and S4. We are still researching how to develop a better mechanism butfor now that's what we have to offer. So proceed with care and expect some changes in the future to this mechanism.

Author(s)

The FLCore Team

See Also

FLQuant-class, xyplot,formula,FLQuants-method


[Package FLCore version 1.3-3 Index]