Take a vector fobs
of performances of assemblages
that share a same assembly motif,
and return a vector of performances
predicted as the arithmetic mean
of performances of assemblages
that contain the same components as the assemblage to predict.
amean_byelt(fobs, mOccur)
a numeric vector. The vector fobs
contains the
quantitative performances of assemblages.
a matrix of occurrence (occurrence of components).
Its first dimension equals to length(fobs)
. Its second dimension
equals to the number of components.
Return a vector of length(fobs)
.
Its values are computed as the average
of mean performances of assemblages that contain the same components
as the assemblage to calibrate opt.model = "byelt"
.
Modelled performances are computed
using arithmetic mean (opt.mean = "amean"
) of performances.
Assemblages share a same assembly motif.
Modelled performances are the average
of mean performances of assemblages that contain the same components
as the assemblage to calibrate (opt.model = "byelt"
).
This procedure corresponds to a linear model with each assembly motif
based on the component occurrence in each assemblage.
amean_byelt
using arithmetic mean.
gmean_byelt
using geometric mean.