Description Usage Arguments Details Value
The numeric vector fct
get together the properties
of assemblages belonging to different assembly motifs. The properties
fct
of assemblages belonging to a given assembly motif and
containing a given element are separately averaged. The property
of each assemblage is computed as the average of mean values
of assemblages containing the same elements as the considered assemblage.
The motif of each vector element is specified in the vector
assMotifs
. The elemental composition of each assemblage
is specified in the binary matrix mOccur
: 0
if the element does not occur, 1
if the element occurs.
1 | predict_amean_byelt_xpr(fct, assMotifs, mOccur, xpr)
|
fct |
a vector of numeric values (assembly properties). |
assMotifs |
a vector of labels of |
mOccur |
a matrix of occurrence (occurrence of elements).
Its first dimension equals to |
xpr |
a vector of labels of same length as |
Prediction is computed using arithmetic mean amean
by element byelt
occurring within the assemblage and other
assemblages of a same motif, by including all assemblages belonging
to a same motif, even the one to predict.
Return a vector of same length as fct
, of which
values are computed as the arithmetic mean of all vector elements
belonging to a same motif.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.