Take a vector fobs of assembly performances
and return a vector of performances predicted
as the arithmetic mean of performances of other assemblages
that share the same assembly motif.
Assembly motifs are labelled in the vector assMotif.
validate_amean_bymot_LOO(fobs, assMotif)a numeric vector. The vector fobs contains the
quantitative performances of assemblages.
a vector of labels of length(fobs).
The vector assMotif contains the assembly motifs of assemblages.
Return a vector of length(fobs).
Its values are computed as the arithmetic mean
of performances of assemblages
that share a same assembly motif,
by excluding the assemblage to predict.
Predicted performances are computed
using arithmetic mean (opt.mean = "amean")
of performances of assemblages
that share a same assembly motif (opt.model = "bymot")
by excluding the assemblage to predict.
validate_amean_byelt_LOO arithmetic mean
by elements occurring within assembly motif
validate_gmean_bymot_LOO arithmetic mean
by assembly motif
validate_gmean_byelt_LOO geometric mean
by elements occurring within assembly motif