geo_mean | R Documentation |
In flow cytometry the geometric mean is a common metric of central tendency. It is less susceptible to outliers than the arithmetic mean, but more susceptible as compared to the median. If you have untransformed values of fluorescence intensities (original output of the machines) this function may not work as you may have negative values in your vector x. Hence, the median has to be used or the data needs transformation (e.g. logicle transformation).
geo_mean(x, rm.na = F)
x |
numeric vector |
rm.na |
logical if to remove na or not |
a numeric representing the geometric mean of values in x
geo_mean(c(1,2,3,10,100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.