Description Usage Arguments Details Value See Also
View source: R/validating_jack.R
Take a vector fobs of assembly performances
and return a vector of performances predicted
as the geometric mean of performances of other assemblages
that share the same assembly motif.
Assembly motifs are described in the vector assMotif.
Experiments are specified in the vector xpr.
1 | validate_gmean_byelt_jack_xpr(fobs, assMotif, mOccur, jack, 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 |
jack |
an integer vector of length |
xpr |
a vector of numerics of |
Predicted performances are computed
using geometric mean (opt.mean = "gmean")
of performances of assemblages
that share a same assembly motif (opt.model = "bymot").
The assemblages belonging to a same assembly motif are divided
into jack[2] subsets of jack[1] assemblages.
Prediction is computed by excluding jack[1] assemblages,
including the assemblage to predict.
If the total number of assemblages belonging
to the assembly motif is lower than jack[1]*jack[2],
prediction is computed by Leave-One-Out (LOO).
Return a vector of length(fobs).
Its values are computed as the geometric mean of performances
of assemblages that share a same assembly motif,
by excluding a subset of assemblages
containing the assemblage to predict.
validate_amean_bymot_jack_xpr,
validate_amean_byelt_jack_xpr,
validate_gmean_bymot_jack_xpr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.