quant: Method quant

quantR Documentation

Method quant

Description

Function to get or set the name of the first dimension (quant) in an object of any FLArray-based class, like FLQuant or FLCohort.

Usage

quant(object, ...)

## S4 method for signature 'FLArray'
quant(object)

## S4 replacement method for signature 'FLArray,character'
quant(object) <- value

Generic function

quant(object) quant<-(object,value)

Author(s)

The FLR Team

See Also

FLQuant, FLCohort

Examples


# quant is 'quant' by default
  quant(FLQuant())

flq <- FLQuant(rnorm(80), dim=c(4,20), quant='age')
quant(flq)
quant(flq) <- 'length'
summary(flq)


# quant is 'quant' by default
  quant(FLQuant())

flq <- FLQuant(rnorm(80), dim=c(4,20), quant='age')
quant(flq)
quant(flq) <- 'length'
summary(flq)


flr/FLCore documentation built on May 4, 2024, midnight