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 FLStock FLStocks(object, ...) # S4 method for missing FLStocks(object, ...) # S4 method for list FLStocks(object, ...)
list
.character
.character
.logical
.A constructor method exists for this class that can take named arguments for any of the list elements.
data(ple4) fls <- FLStocks(sa=ple4, sb=window(ple4, end=1980)) summary(fls)#> An object of class "FLStocks" #> #> Elements: sa sb #> #> Name: Plaice in IV #> Description: Imported from a VPA file. ( N:\Projecten\ICES WG\Demersale werkgroep WGNSSK\2009\stock\ple-nsea\final runs\index.txt ). Tue Jun 16 06:32:20 2009 + FLAssess: #> Range: min max pgroup minyear maxyear minfbar maxfbar #> 1 10 10 1957 2008 2 6 #> Quant: age #> dim: 10 52 1 1 1 #> Name: Plaice in IV #> Description: Imported from a VPA file. ( N:\Projecten\ICES WG\Demersale werkgroep WGNSSK\2009\stock\ple-nsea\final runs\index.txt ). Tue Jun 16 06:32:20 2009 + FLAssess: #> Range: min max pgroup minyear maxyear minfbar maxfbar #> 1 10 10 1957 1980 2 6 #> Quant: age #> dim: 10 24 1 1 1