Learn R Programming

spNetwork (version 0.4.4.6)

gm_mean: Geometric mean

Description

Function to calculate the geometric mean.

Usage

gm_mean(x, na.rm = TRUE)

Value

The geometric mean of x

Arguments

x

A vector of numeric values

na.rm

A boolean indicating if we filter the NA values

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab