| FLFleets-class {FLCore} | R Documentation |
FLFleets is a collection of different FLFleet objects
Objects can be created by calls of the form new("FLFleets", ...).
~~ describe objects here ~~
.Data:list with FLFleet objectsdesc:
Class "list".
signature(object = "FLFleets"): Prints a summary of the object contentssignature(obj = "FLFleets"): Creates a new FLStock based upon the input FLFleet. name and gear identify the catches inside the FLFleets object to be used by comparing to name and gear slot of each FLCatch. If more than one FlCatch matches the stock specified, the the data are coerced by summing the numbers and catch, discrads and landings. landings.wt, catch.wt and discards.wt are averaged weighing by the numbers.
FLR Team
# Create an empty FLFleet object from two empty FLFleet obejects.
iniFLQuantCatch = FLQuant(160, dim = c(8,20,1,1,1))
iniFLQuant = FLQuant(10, dim = c(1,20,1,1,1))
my.fleets <-FLFleets()
my.fleets[[1]] <- FLFleet(iniFLQuantCatch=iniFLQuantCatch, iniFLQuant=iniFLQuant, name = "Otter trawl", desc = "Just an example...")
my.fleets[[2]] <- FLFleet(iniFLQuantCatch=iniFLQuantCatch, iniFLQuant=iniFLQuant, name = "Trawl", desc = "Just an example...")
is.FLFleets(my.fleets)