geomMean {NormqPCR} | R Documentation |
Computation of the geometric mean.
geomMean(x, na.rm = TRUE)
x |
numeric vector of non-negative Reals |
na.rm |
a logical value indicating whether |
The computation of the geometric mean is done via prod(x)^(1/length(x))
.
geometric mean
A first version of this function appeared in package SLqPCR.
Matthias Kohl Matthias.Kohl@stamats.de
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.
x <- rlnorm(100) geomMean(x)