https://github.com/cran/robCompositions
Raw File
Tip revision: 4f2efb4ed8831a90968ef063d2403d675c84dae3 authored by Matthias Templ on 26 November 2013, 12:55:44 UTC
version 1.6.4
Tip revision: 4f2efb4
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}
back to top