geomMean {NormqPCR}R Documentation

Geometric Mean

Description

Computation of the geometric mean.

Usage

geomMean(x, na.rm = TRUE)

Arguments

x

numeric vector of non-negative Reals

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Details

The computation of the geometric mean is done via prod(x)^(1/length(x)).

Value

geometric mean

Note

A first version of this function appeared in package SLqPCR.

Author(s)

Matthias Kohl Matthias.Kohl@stamats.de

References

Perkins, JR, Dawes, JM, McMahon, SB, Bennett, DL, Orengo, C, Kohl, M (2012). ReadqPCR and NormqPCR: R packages for the reading, quality checking and normalisation of RT-qPCR quantification cycle (Cq) data. BMC Genomics, 13, 1:296.

Examples

x <- rlnorm(100)
geomMean(x)

[Package NormqPCR version 1.39.0 Index]