Description Usage Arguments Details Value See Also
View source: R/validating_jack.R
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"
.
Cross-validation is leave-one-out or jackknifesi
1 2 3 | validate_using_cross_validation(fobs, assMotif, mOccur, xpr,
opt.mean = "amean", opt.model = "bymot",
opt.jack = FALSE, jack = c(3,4) )
|
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 |
opt.mean |
switchs to arithmetic formula |
opt.model |
switchs to model type:
simple mean by assembly motif |
opt.jack |
a logical, that switchs towards cross-validation method. If If |
jack |
an integer vector of length |
None.
Return a vector of length(fobs)
.
Its values are predicted
according to opt.mean
and opt.model
.
calibrate_byminrss
predict_performance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.