quant {FLCore} | R Documentation

## Method quant

### Description

Function to get or set the name of first dimension (quant) in an object of class `FLQuant` or `FLCohort`.

### Generic function

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

### Methods

signature(object=FLQuant) :
  Get the name of the first dimension of an `FLQuant` object.
signature(object=FLCohort) :
  Get the name of the first dimension of an `FLCohort` object.
signature(object=FLQuant,value=ANY) :
  Set the name of the first dimension of an `FLQuant` object.

### Author(s)

The FLR Team

### See Also

FLQuant-class, FLCohort-class

### 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)

[Package FLCore version 2.2 Index]