Learn R Programming

geiger (version 0.2-5)

disp.calc: Calculate disparity

Description

Calculate disparity of a set of points

Usage

disp.calc(data, disp = "avg.sq")

Arguments

data
n x m matrix of data points, where n = number of points and m = number of dimensions
disp
disparity measure: avg.sq, avg.manhattan, nb.states

Value

  • disparity

References

Foote

Examples

Run this code
data(geospiza)
attach(geospiza)

disp.calc(geospiza.data)

Run the code above in your browser using DataLab