Learn R Programming

spNetwork (version 0.2.1)

gm_mean: Geometric mean

Description

Function to calculate the geometric mean.

Usage

gm_mean(x, na.rm = TRUE)

Arguments

x

A vector of numeric values

na.rm

A boolean indicating if we filter the NA values

Value

The geometric mean of x

Examples

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab