data.table in the background for
major speed and memory usage improvements. Resampling the whole BioTIME
database used to take > 1 hour and now takes < 1 minute.data.frame, data.table and tibble
objects with dedicated functions.In the resampling function:
new argument summarise, TRUE by default keeps
previous behaviour.
If TRUE, the abundance and/or biomass is summed per rarefyID while if FALSE the abundance and/or biomass will be summed per rarefyID/SAMPLE_DESC and gives more columns.
In the getAlphaMetrics and getBetaMetrics functions:
data.frames containing several resamplings are
accepted
If the provided data contain several resamplings, metrics will be computed per resampling, per assemblageID, per year.
In the getLinearRegressions function:
removed the divType argument.
The function now reads the class of the objects produced by
getAlphaMetrics and getBetaMetrics and
computes the expected metrics.
In the themeBioTIME function:
lp is soft deprecated in favour of
legend.positionfontSize is soft deprecated in favour of
font.sizecolx is soft deprecated in favour of
axis.colourcoly is soft deprecated in favour of
strip.backgroundresampling() to sample without replacementgetLinearRegressions() to correct result
dimensions and metric order