Learn R Programming

functClust (version 0.1.6)

validate_amean_bymot_LOO: Predicting the performances by assembly motif using leave-one-out method

Description

Take a vector fobs of assembly performances and return a vector of performances predicted as the arithmetic mean of performances of other assemblages that share the same assembly motif.

Assembly motifs are labelled in the vector assMotif.

Usage

validate_amean_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.

Value

Return a vector of length(fobs). Its values are computed as the arithmetic mean of performances of assemblages that share a same assembly motif, by excluding the assemblage to predict.

Details

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

See Also

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