FLFleets {FLCore} | R Documentation

## Method FLFleets

### Description

Creator method for a FLFleets object

### Generic function

FLFleets(object)

### Methods

signature(object=ANY) :
  create a FLFleets object from a set of FLFleet objects
signature(object=missing) :
  create a FLFleets object as a void list for future use
signature(object=list) :
  create a FLFleets object from a list of FLFleet objects

### Author(s)

The FLR Team

### See Also

FLFleet FLMetiers FLMetier FLCatches FLCatch FLComp

### Examples

    data(bt4) # get an example FLFLeet object
    lst.fleets <- FLFleets(bt4,bt4,bt4) #...or from a set of FLFleet objects

    # create from nothing:
    fleet1 <- FLFleet(name='fleet1',metiers=FLMetiers(FLMetier(name='met1',  catches=FLCatches(FLCatch()))))
    fleet2 <- FLFleet(name='fleet2',metiers=FLMetiers(FLMetier(name='met1',catches=FLCatches(FLCatch()))))
    lst.fleets <- FLFleets(fleet1,fleet2)
    summary(lst.fleets)
    lapply(lst.fleets,summary)

[Package FLCore version 2.2 Index]