quant: Method quant

Description Generic function Methods Author(s) See Also Examples

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, FLCohort

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# quant is 'quant' by default
quant(FLQuant())

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

quant(flq)

quant(flq) <- 'length'

summary(flq)

FLCore documentation built on May 2, 2019, 5:46 p.m.