amean_byelt_LOO: Predicting the performances by elements occurring within...

Description Usage Arguments Details Value See Also

View source: R/validating_loo.R

Description

Take a vector fobs of performances of assemblages that share a same assembly motif, and return a vector of performances predicted as the arithmetic mean of performances of assemblages that contain the same elements as the assemblage to predict.

All assemblages share the same assembly motif.

Usage

1
amean_byelt_LOO(fobs, mOccur)

Arguments

fobs

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

mOccur

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

Details

Modelled performances are computed using arithmetic mean opt.mean = "amean" of performances. Assemblages share a same assembly motif opt.model = "bymot". Modelled performances are the average of mean performances of assemblages that contain the same elements as the assemblage to predict, except the assemblage to predict. This procedure corresponds to a linear model with each assembly motif based on the element occurrence in each assemblage.

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 elements as the assemblage to predict opt.model = "byelt" .

See Also

amean_bymot_LOO arithmetic mean by assembly motif
gmean_bymot_LOO geometric mean by assembly motif
gmean_byelt_LOO geometric mean by elements occurring within assembly motif


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