validate_gmean_bymot_LOO: Predicting the performances by assembly motif using...

Description Usage Arguments Details Value See Also

View source: R/validating_loo.R

Description

Take a vector fobs of assembly performances and return a vector of performances predicted as the geometric mean of performances of all assemblages that share a same assembly motif, by excluding the assemblage to predict.

Usage

1
validate_gmean_bymot_LOO(fobs, assMotif)

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.

Details

Predicted performances are computed using geometric mean (opt.mean = "gmean") of performances of assemblages that share a same assembly motif (opt.model = "bymot") by excluding the assemblage to predict.

Value

Return a vector of length(fobs). Its values are computed as the geometric mean of performances of assemblages that share a same assembly motif.

See Also

validate_amean_bymot_LOO arithmetic mean by assembly motif
validate_amean_byelt_LOO arithmetic mean by elements occurring within assembly motif
validate_gmean_byelt_LOO geometric mean by elements occurring within assembly motif


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