aboutsummaryrefslogblamecommitdiff
path: root/man/geometric_mean.Rd
blob: faad666f335c385d3e0f5c1fe88710586178d0b2 (plain) (tree)






















                                                            
\name{geometric_mean}
\Rdversion{1.1}
\alias{geometric_mean}
\title{ Calculate the geometric mean }
\description{
  Function calculating the geometric mean of numeric vectors
}
\usage{
  geometric_mean(x, na.rm = FALSE)
}
\arguments{
  \item{x}{ A numeric vector }
  \item{na.rm}{ Should NA values be ignored }
}
\value{
  The geometric mean.
}
\examples{
  geometric_mean(c(1,3, 9))
  geometric_mean(c(1,3, NA))
  geometric_mean(c(1,3, NA), na.rm = TRUE)
}
\keyword{ manip }

Contact - Imprint