gmean_byelt_LOO: Geometric 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, except the assemblage to predict. 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
gmean_byelt_LOO(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 geomùetric mean gmean by element byelt occurring within the assemblage and other assemblages of a same motif, by including all assemblages belonging to a same motif, except the assemblage to predict.

Value

Return a vector of length(fct), of which values are computed as a geometric mean of all vector elements over several experiments, excepted the value of element to predict that have been left out.


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