Methods have been defined for aithmetic operations element by element between two FLQuants objects, and for dividing each of an FLQuants by each of an FLPars of the same length.
FLCore 2.6.15 Unreleased
FLCore now imports ggplot2 to avoid the clash over the %+% operator veings defined in both packages. FLCore now uses ggplot::%+% as basis for the method generic. Only this function is imported, as FLCore does not use any other ggplot2 method.
qapply() now has a simplify argument to call unlist() on the output and return a vector. Deafults to simplify=FALSE
windows accepts a negative value for end and will substract that number of years from the object.
metrics() can now handle formulas combining object functions and vector or FLPar elements, e.g. metrics(ple4, ~ssb/Blim, FLPar(Blim=300000))
mohnMatrix to construct a table of metrics to compute Mohn’s rho from an FLStocks object obtained from a restrospective analysis.
readVPAInterCatch creates an FLQuant from a VPA file in the format exported by ICES Intercatch system.
fwd(FLQuant) to move one year forward a population vector.
fwd(FLStock) calculates survivors and places them one year one age ahead.
qapply can simplify output, calling unlist.
divide() separates object along iters into list.
cv(FLQuantPoint) returns std/mean.
New as.data.frame method for FLQuantPoint.
‘1000 t’ is now accepted by uom().
iter<- method for FLBiol and predictModel.
logrstandard can now deal with NaN
FLCore 2.6.14 Unreleased
intersect method called on two FLQuants returns them subset to only the common dimension names.
standardUnits provides a possible set of standard units of measurement in complex object. Set now for FLS/FLStock, using 1000, kg, t, m, and f, as in data(ple4).
append method for FLQuant and FLStock adss an object to another by year dimnames or ar year specified by ‘after’.
FLCore 2.6.12 Unreleased
DEPRECATED & DEFUNCT
flc2flq has been deprecated. Use as(object, ‘FLQuant’) instead.
Fix to iter(vector) after addition of iterators dependency.
FLCore 2.6.11 Unreleased
dimnames(FLComp) method defined, returns dimnames corresponding to maximum length per dimension.
combine(FLQuant) and combine (FLComp) can now accept multiple objects, useful for using with foreach’s .multicombine.
Replacement method for FLlst elements ([[<-) now allows extending it.
Dependency added on iterators package. iter() method was overwritten when iterators was loaded.