Description Slots Extends Constructor Methods Author(s) See Also Examples
FLlst is a class that extends list but implements a set of features that give a little bit more structure to list objects. First the elements of FLlst must all be of the same class. Second it implements a lock mechanism that, when turned on, does not allow the user to increase or decrease the object length. Both features are needed to propoerly implement FLFleet class.
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.
list
The FLlst(object) constructor method allows simple creation of new FLlst with the methods described below.
Returns an FLlst object with the provided elements if they are all o the same class.
Returns an empty FLlst object
Returns and FLlst object with the input list at its core
Select method.
signature(x=FLlst,i=ANY,j=missing,drop=missing)
Replacement method for elements.
signature(x=FLlst,i=ANY,j=missing,value=ANY)
Replacement method within elements.
signature(x=FLlst,i=ANY,j=missing,value=missing)
Replacement method for elements.
signature(x=FLlst,name=character,value=missing)
Coerce method.
signature(from=FLlst,to=list,strict=missing)
lapply implemented for FLlst objects.
signature(X=missing,FUN=missing)
Selects a set of years from all elements at once.
signature(x=missing)
The FLR Team
[, [<-, [[<-, $<-, coerce, lapply, window, list
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.