globalMoranSim: Evaluates the p-value of the Moran's I

Description Usage Arguments Value

View source: R/moran.R

Description

Evaluates the p-value of the Moran's I

Usage

1
globalMoranSim(shp, x = NULL, y = NULL, W = NULL, nsims = 999)

Arguments

shp

shapefile or simple feature to process the neighbourhood. Expected structure: id, x, y(optional)

x

numeric vector with values of variable 1. Defaults to NULL.

y

numeric vector with values of variable 2. Defaults to NULL (not bivariate).

W

numeric matrix of neighbourhood matrix from nbMatrix. Defaults to NULL.

nsims

numeric value of number of simulations. Defaults to 999.

Value

global_sims (global Moran's I simulations)


biamouras/accSeg documentation built on Nov. 19, 2020, 8:07 a.m.