giniFootprint: giniFootprint

View source: R/giniFootprint.r

giniFootprintR Documentation

giniFootprint

Description

gini index of patchniness from a fisheryFootprint, this assumes fishery footprint boxes can change

Usage

giniFootprint(x, y = NULL, plot = F)

Arguments

x

: footprint metric per grid

y

: area of grid

plot

: makes the Lorenz plot if set to true

Value

estimate of gini

Author(s)

Adam Cook, Adam.Cook@dfo-mpo.gc.ca

Examples

x=c(0,	0,	0,	0,	0,	0.25,	1.81,	2.52,	2.6,	3.68,	7.58,	10.07,	13.33,	13.33,	24.99)
y=c(1,1,1,1,2,2,2,3,3,1,1,2,3,4,5)
giniFootprint(x,plot=T)

LobsterScience/bio.lobster documentation built on Feb. 14, 2025, 3:28 p.m.