FLStocks | R Documentation |
FLStocks
is a class that extends list
through FLlst
but
implements a set of features that give a little bit more structure to list
objects. The elements of FLStocks
must all be of class
FLStock
. It implements a lock mechanism that, when turned on, does
not allow the user to increase or decrease the object length.
FLStocks(object, ...)
## S4 method for signature 'FLStock'
FLStocks(object, ...)
## S4 method for signature 'missing'
FLStocks(object, ...)
## S4 method for signature 'list'
FLStocks(object, ...)
object |
unnamed object to be added to the list |
... |
other named or unnamed objects |
The data. list
.
Names of the list elements. character
.
Description of the object. character
.
Lock
mechanism, if turned on the length of the list can not be modified by adding
or removing elements. logical
.
A constructor method exists for this class that can take named arguments for any of the list elements.
The FLR Team
plot, FLlst, list
data(ple4)
fls <- FLStocks(sa=ple4, sb=window(ple4, end=1980))
summary(fls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.