gm | R Documentation |
Calculate geometric mean
gm(x)
x |
Numeric vector. |
The geometric mean. NA
is returned if there are any non-positive elements in x
.
Justin Wilkins, justin.wilkins@occams.com
gm(c(0.5, 7, 8, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.