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

Description Usage Arguments Value

View source: R/lag_matrix.R

Description

This function returns bin distances for spatial autocorrelation.

Usage

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


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.