gm_mean {spNetwork}R Documentation

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

#This is an internal function, no example provided

[Package spNetwork version 0.4.4.6 Index]