Description Usage Arguments Value Examples
Calculate geometric mean of a vector.
1 |
x |
Numeric vector |
na.rm |
Should NA values be removed? If FALSE, you get NA when "x" data contains NA. If TRUE NA gets ignored (treated as 1 in multiplication). (but NOTE these zeros always count also when zero.count = FALSE) |
zeros.count |
Should I count 0's when estimating the mean? |
Geometric mean of elements in x
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.