Description Usage Arguments Details Value See Also
View source: R/validating_loo.R
Take a vector fobs
of performances of assemblages
over several experiments
that share a same assembly motif,
and return a vector of performances
predicted as the geometric mean
of performances of assemblages
that contain the same elements as the assemblage to predict.
All assemblages share the same assembly motif.
1 | validate_gmean_byelt_LOO_xpr(fobs, assMotif, mOccur, xpr)
|
fobs |
a numeric vector. The vector |
assMotif |
a vector of labels of |
mOccur |
a matrix of occurrence (occurrence of elements).
Its first dimension equals to |
xpr |
a vector of numerics of |
Predicted performances are computed
using geometric mean (opt.mean = "gmean"
)
of performances.
Assemblages share a same assembly motif (opt.model = "bymot"
).
Predicted performances are the average,
experiment by experiment,
of mean performances of assemblages
that contain the same elements
as the assemblage to predict,
except the assemblage to predict.
This procedure corresponds to a linear model with each assembly motif
based on the element occurrence in each assemblage.
Return a vector of length(fobs)
.
Its values are computed as the average
of mean performances of all assemblages,
experiment by experiment,
that contain the same elements
as the assemblage to predict (opt.model = "byelt"
) .
validate_amean_bymot_LOO_xpr
arithmetic mean
byassembly motif
validate_amean_byelt_LOO_xpr
arithmetic mean
by elements occurring within assembly motif
validate_gmean_bymot_LOO_xpr
geometric mean
by assembly motif
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.