lag_matrix: Returns matrix only with values within a particular bin...

View source: R/lag_matrix.R

lag_matrixR Documentation

Returns matrix only with values within a particular bin distance range

Description

This function returns bin distances for spatial autocorrelation.

Usage

lag_matrix(X, lower = NULL, upper = NULL)

Arguments

X

The pairwise distance matrix.

lower

The lower limit of the bin being requested

upper

The upper limit of the bin being requested

Value

A matrix with the count of objects in each bin category.


dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.