Description Usage Arguments Details Value See Also
Takes a vector fct
of assembly performances
over several experiments
and returns 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"
.
Cross-validation is leave-one-out or jackknifesi
1 2 3 4 | predict_performance(appFct, appMotifs, appOccur,
supMotifs, supOccur,
opt.mean = "amean",
opt.model = "bymot" )
|
appFct |
a vector of numeric values (assembly properties). |
appMotifs |
a vector of labels of |
appOccur |
a matrix of occurrence (occurrence of components).
Its first dimension equals to |
supMotifs |
a vector of labels of |
supOccur |
a matrix of occurrence (occurrence of components).
Its first dimension equals to |
opt.mean |
equal to |
opt.model |
equal to |
Prediction is computed using arithmetic mean amean
by motif
bymot
in a whole (WITHOUT taking into account species contribution).
The components belonging to a same motif are divided into jack[2]
subsets of jack[1]
components. Prediction is computed by excluding
jack[1]
components, of which the component to predict. If the total
number of components belonging to the motif is lower than
jack[1]*jack[2]
, prediction is computed by Leave-One-Out (LOO).
Return the arithmetic mean of a vector, as standard mean
function.
calibrate_byminrss
validate_using_cross_validation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.