Skip to main content
Version: 6.5.0

variance

Description

get variance of a list

Parameters

NameTypeDescription
yArray<number>

Returns

    number

Installation

$ npm install @turf/moran-index

import { variance } from "@turf/moran-index";
const result = variance(...);
$ npm install @turf/turf

import * as turf from "@turf/turf";
const result = turf.variance(...);