Description Usage Arguments Details Value See Also
Take a vector fobs
of assembly performances
over several experiments
and return a vector of performances
predicted as the mean performances of assemblages
that share the same assembly motif.
Assembly motifs are labelled in the vector assMotif
.
Experiments are labelled in the vector xpr
.
Modelling options are indicated in opt.mean
and opt.model
.
Occurrence matrix mOccur
is used if opt.model = "byelt"
.
1 2 | calibrate_byminrss(fobs, assMotif, mOccur, xpr,
opt.mean = "amean", opt.model = "bymot" )
|
fobs |
a numeric vector. The vector |
assMotif |
a vector of labels of |
mOccur |
a matrix of occurrence (occurrence of components).
Its first dimension equals to |
xpr |
a vector of numerics of |
opt.mean |
a character equals to |
opt.model |
a character equals to |
Modelled performances are computed
using arithmetic mean (opt.mean = "amean"
)
or geometric mean (opt.mean = "gmean"
).
If opt.model = "bymot"
,
modelled performances are means
of performances of assemblages
that share a same assembly motif
by including all assemblages that belong to a same assembly motif.
If opt.model = "byelt"
,
modelled performances are the average
of mean performances of assemblages
that share a same assembly motif
and that contain the same components
as the assemblage to calibrate.
This procedure corresponds to a linear model within each assembly motif
based on the component occurrence in each assemblage.
If no assemblage contains component belonging to assemblage to calibrate,
performance is the mean performance of all assemblages
as in opt.model = "bymot"
.
Return a vector of length(fobs)
.
Its values are computed according to opt.mean
and opt.model
.
validate_using_cross_validation
predicts performances of assemblages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.