Learn R Programming

smile (version 1.1.0)

morans_i: Calculates the (global) Moran's I

Description

Calculates the (global) Moran's I

Usage

morans_i(sf_dt, variable)

Value

a numeric scalar.

Arguments

sf_dt

a sf (with POLYGON geometry) dataset.

variable

a character representing one of the variables from sf_dt.