gic {RGeoS}R Documentation

Global Index of Collocation

Description

Global Index of Collocation

Usage

gic(db1, db2, name1 = NA, name2 = NA, flag.plot = FALSE, 
col1 = 1, col2 = 2, digit = 3)

Arguments

db1

Name of the db-class which contains the first data set

db2

Name of the db-class which contains the second data set

name1

Name of the variable used when calculating the center of gravity and the inertia, in the first data set. If not defined, the sample coordinates are used only

name2

Name of the variable used when calculating the center of gravity and the inertia, in the second data set. If not defined, the sample coordinates are used only

flag.plot

When TRUE, both gravity centers and inertiae are represented graphically

col1

Color used for representing the gravity center and the inertia of the first data set (used when flag.plot=TRUE)

col2

Color used for representing the gravity center and the inertia of the second data set (used when flag.plot=TRUE)

digit

Number of decimal digits for expressing the Inertia

Value

The global Index of collocation


[Package RGeoS version 9.1.1 Index]