flc2flq {FLCore} | R Documentation

## Coerce FLCohort into FLQuant.

### Description

Coerces `FLCohort` objects into `FLQuant` objects. It's also implemented with `seAs`, to be used like `as(flcobject, "FLQuant")` and it will be deprecated in the near future.

### Generic function

flc2flq(object)

### Methods

signature(object=FLCohort) :
  Coerce FLCohort into FLQuant.

### Author(s)

The FLR Team

### See Also

FLComp

### Examples

    data(ple4)
    flc <- FLCohort(catch.n(ple4))
    flq <- flc2flq(flc)
    all.equal(flq, catch.n(ple4))

[Package FLCore version 2.2 Index]