mean
Description
get mean of a list
Parameters
Name | Type | Description |
---|---|---|
y | Array<number> |
Returns
- number
Installation
$ npm install @turf/moran-index
import { mean } from "@turf/moran-index";
const result = mean(...);
$ npm install @turf/turf
import * as turf from "@turf/turf";
const result = turf.mean(...);