SI.lic {RGeostats}R Documentation

Local index of collocation

Description

Local overlapping between two populations is addressed using the local index of collocation, that is, the non-centred correlation between their densities.

Usage

SI.lic(db, name1 = db.getname(db,"z",1), name2 = db.getname(db,"z",2))

Arguments

db

Name of the db-class which contains the data set

name1

Name of the first variable used when calculating the local index of collocation in the data set. If not defined, the variable located "z1" is used.

name2

Name of the second variable used when calculating the local index of collocation in the data set. If not defined, the variable located "z2" is used.

Value

The local index of collocation.

Note

Function originally developped for the EU project Fisboat, DG-Fish, STREP no 502572. Authors: Woillez, M., and Rivoirard, J. (Geosciences/Mines-ParisTech)

Author(s)

Mathieu Woillez, Ifremer, 2013

References

Bez N., and Rivoirard J., 2000, Indices of collocation between populations. In: Checkley D.M., Hunter J.R., Motos L., von der Lingen C.D. (Eds.).Workshop on the Use of Continuous Underway Fish Egg Sampler (CUFES) for mapping spawning habitat of pelagic fish. GLOBEC Rep., pp. 48-52.

Examples

# Load data
rg.load(filename="Demo.hake.bob.db.data",objname="db.data")
rg.load(filename="Demo.hake.bob.poly.data",objname="poly.data")
projec.define(projection="mean",db=db.data)

# Local index of collocation (ages A0 & A1)
SI.lic(db.data,name1="A0",name2="A1")
plot(db.locate(db.data,"A0",loctype="z"),title="",col=2,asp=1,
     xlim=c(-300,150),ylim=c(-200,150),inches=5)
plot(db.locate(db.data,"A1",loctype="z"),title="",col=4,add=TRUE,inches=5)
plot(poly.data,col=8,add=TRUE)

rm(db.data,poly.data)

[Package RGeostats version 11.0.6 Index]