amean_byelt: Arithmetic mean (amean) by elements occurring within the...

Description Usage Arguments Details Value

Description

The numeric vector fctMot get together the properties of assemblages belonging to a same assembly motif. The properties fctMot of assemblages 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 elemental composition of each assemblage is specified in the binary matrix mOccurMot: 0 if the element does not occur, 1 if the element occurs.

Usage

1
amean_byelt(fctMot, mOccurMot)

Arguments

fctMot

a vector of numeric values (assembly properties).

mOccurMot

a matrix of occurrence (occurrence of elements). Its first dimension equals to length(fctMot). Its second dimension equals to the number of elements.

Details

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.

Value

Return a vector of length(fctMot), of which values are computed as an arithmetic mean.


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.