morans_i {smile}R Documentation

Calculates the (global) Moran's I

Description

Calculates the (global) Moran's I

Usage

morans_i(sf_dt, variable)

Arguments

sf_dt

a sf (with POLYGON geometry) dataset.

variable

a character representing one of the variables from sf_dt.

Value

a numeric scalar.


[Package smile version 1.0.5 Index]