This function gives the mean taken in log-scale for a set of numeric values. Values less than or equal to zero are ignored as NA. Best suited for values taken from a highly skewed distribution, as Ct values often are.

logmean(x)

Arguments

x

A vector containing numeric values

Value

Scalar

Examples

if (FALSE) {

logmean(c(24.3, 10.3, 40, NA, 0, -1, 0.05))

}