calibrate_gmean_byelt: Modelling the performances by components occurring within an...

Description Usage Arguments Details Value See Also

View source: R/calibrating.R

Description

The numeric vector fobs get together the properties of assemblages belonging to different assembly motifs. The properties fobs of assemblages belonging to a given assembly motif and containing a given component are separately averaged. The property of each assemblage is computed as the average of mean values of assemblages containing the same components as the considered assemblage. The motif of each vector component is specified in the vector assMotif. The componental composition of each assemblage is specified in the binary matrix mOccur: 0 if the component does not occur, 1 if the component occurs.

Usage

1
calibrate_gmean_byelt(fobs, assMotif, mOccur)

Arguments

fobs

a numeric vector. The vector fobs contains the quantitative performances of assemblages.

assMotif

a vector of labels of length(fobs). The vector assMotif contains the assembly motifs of assemblages.

mOccur

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

Details

Modelled performances are computed using geometric mean (opt.mean = "gmean") of performances. Modelled performances are the average of mean performances of assemblages that share a same assembly motif and that contain the same components as the assemblage to calibrate (opt.model = "byelt"). This procedure corresponds to a linear model with each assembly motif based on the component occurrence in each assemblage. If no assemblage contains component belonging to assemblage to calibrate, performance is the mean performance of all assemblages.

Value

Return a vector of length(fobs). Its values are computed as the average of mean performances of assemblages that share the same assembly motif and that contain the same components as the assemblage to calibrate opt.model = "byelt" .

See Also

calibrate_amean_bymot arithmetic mean by assembly motif.
calibrate_amean_byelt arithmetic mean by elements occurring within assembly motif.
calibrate_gmean_bymot geometric mean by assembly motif.
calibrate_gmean_byelt geometric mean by elements occurring within assembly motif.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.