Description Usage Arguments Author(s) See Also Examples

Computes the geometric mean of a vector, `x`

. It is a wrapper for `exp(mean(log(x)))`

.

1 |

`x` |
a numeric vector or an R object which is coercible to one by as.vector(x, "numeric”). |

`add0.001` |
logical. Should a small constant (0.001) be added to avoid issues with zeroes? |

`ignore_neg` |
logical. Should negative values be ignored to avoid NaNs? |

`...` |
further arguments passed to |

Matthew A. Birk, [email protected]

1 2 3 4 |

birk documentation built on May 29, 2017, 11:19 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.