Class: SzymkiewiczSimpsonOverlap

SzymkiewiczSimpsonOverlap()

Class to calculate the Szymkiewicz-Simpson Overlap coefficient between two data sets.

Constructor

new SzymkiewiczSimpsonOverlap()

Source:

Methods

(static) overlap(data1, data2) → {number}

Calculates the Szymkiewicz-Simpson Overlap coefficient between two data sets.

Parameters:
Name Type Description
data1 Array.<*>

The first data set.

data2 Array.<*>

The second data set.

Source:
Throws:
  • If either data set is missing.
Type
Error
Returns:
  • The overlap coefficient between 0 and 1.
Type
number