Nothing
geoMean <-
function (x, na.rm = FALSE)
{
if (!is.vector(x, mode = "numeric") || is.factor(x))
stop("'x' must be a numeric vector")
wna <- which.na(x)
if (length(wna)) {
if (na.rm)
x <- x[-wna]
else return(NA)
}
if (any(x <= 0)) {
warning("Non-positive values in 'x'")
return(NA)
}
else return(exp(mean(log(x))))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.