sqrtmean: Generalized Mean for P=0.5

Description Usage Arguments Details Value

View source: R/mathTools.R

Description

Compute the square of the mean of the square root of X

Usage

1
sqrtmean(x, na.rm = FALSE)

Arguments

x

numeric vector of positive values

Details

Implements the generalized mean, for the case of power P=0.5. This average will always fall between the value of the arithmatic mean mean and the value of the geometric mean logmean.

In trying to average the gene rank positions over multiple transcripts or differential expression results, the various averaging tools can give quite different results, depending on the distribution of values. Many functions that produce sorted lists of genes provide a average.FUN argument, so you can control the notion of 'average'.

Value

a numeric scalar


robertdouglasmorrison/DuffyTools documentation built on Dec. 14, 2018, 3:05 p.m.