Revision 2ad963b97009de7f1bf46c5da8604388c2c67d05 authored by Matthias Templ on 27 February 2013, 09:44:32 UTC, committed by cran-robot on 27 February 2013, 09:44:32 UTC
1 parent 823295f
gm.Rd
\name{gm}
\alias{gm}
\title{
geometric mean
}
\description{
This function calculates the geometric mean.
}
\usage{
gm(x)
}
\arguments{
\item{x}{
A numeric vector.
}
}
\details{
Calculates the geometric mean of all positive entries of a vector.
}
\value{
The geometric mean.
}
\author{
Matthias Templ
}
\seealso{
\code{\link[compositions]{geometricmean}}
}
\examples{
gm(runif(100))
}
\keyword{math}
Computing file changes ...