swh:1:snp:cba907cabb90d910ce06526e8e65110f84d1288a
Raw File
Tip revision: b0cf7e2c31b281933351acf2fd497c40e4e77996 authored by Matthias Templ on 08 February 2016, 15:39:39 UTC
version 2.0.0
Tip revision: b0cf7e2
gm.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gm.R
\name{gm}
\alias{gm}
\title{geometric mean}
\usage{
gm(x)
}
\arguments{
\item{x}{A numeric vector.}
}
\value{
The geometric mean.
}
\description{
This function calculates the geometric mean.
}
\details{
Calculates the geometric mean of all positive entries of a vector.
}
\examples{

gm(runif(100))

}
\author{
Matthias Templ
}
\keyword{math}

back to top