nbstat-method: Methods for Function 'nbstat'

nbstat-methodsR Documentation

Methods for Function nbstat

Description

Methods for function nbstat

Methods

signature( object = "nbmatrix", link_data, ID_col, data_col, func = "sum", verbose = FALSE)

Calculates a specified statistic (e.g., mean or sum) for the neighboring regions within a nbmatrix object. The user must specify a (spatial) data frame with the parameter link_data. The results are saved in the nbmatrix object. If func is set to NULL, nbstat is used to specify the data column used for further analyses (e.g., moran()).

Author(s)

Thomas Wieland


swash documentation built on Oct. 18, 2026, 5:06 p.m.