morans_i: Calculates the (global) Moran's I

View source: R/sai.R

morans_iR 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.


lcgodoy/smile documentation built on Nov. 20, 2024, 12:17 a.m.