FLCohort | R Documentation |
A class for modelling cohorts.
FLCohort(object, ...)
## S4 method for signature 'FLQuant'
FLCohort(object, ...)
## S4 method for signature 'FLCohort'
FLCohort(object, units = units(object))
## S4 method for signature 'array'
FLCohort(
object,
dim = rep(1, 6),
dimnames = "missing",
units = "NA",
iter = 1,
fill.iter = TRUE
)
## S4 method for signature 'vector'
FLCohort(
object,
dim = c(length(object), rep(1, 5)),
dimnames = "missing",
units = "NA",
iter = 1
)
## S4 method for signature 'missing'
FLCohort(object, dim = rep(1, 6), dimnames = "missing", units = "NA", iter = 1)
object |
Input numeric object |
... |
Additonal arguments |
This class represents cohorts in columns. It simply shifts the typical matrix representation where cohorts are found on the diagonals, into a matrix where cohorts are found in columns. It is very usefull for all analysis that want to make use of cohorts instead of years.
Internal S4 data representation.
array
.
The data units in some understandable metric.
character
Objects of this class are generally constructed from an FLQuant object.
The FLR Team
[, as.data.frame, bubbles, ccplot, FLCohort,FLQuant-method, flc2flq, plot, quant, trim, units, units<-,FLCohort,character-method, xyplot, array
data(ple4)
flq <- catch.n(ple4)
flc <- FLCohort(flq)
plot(trim(flc, cohort=1960:2000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.