Skip to contents

Neighbors

st_contiguity()
Identify polygon neighbors
st_cardinalties()
Calculate neighbor cardinalities
st_knn()
Calculate K-Nearest Neighbors
st_nb_apply()
Apply a function to neighbors
st_nb_band()
Neighbors from a distance band
st_nb_dists()
Calculate neighbor distances
st_nb_lag()
Pure Higher Order Neighbors
st_nb_lag_cumul()
Encompassing Higher Order Neighbors
cond_permute_nb()
Conditional permutation of neighbors

Weights

st_weights()
Calculate spatial weights

Local Indicators of Spatial Association (LISA)

st_lag()
Calculate spatial lag
local_c() local_c_perm()
Compute Local Geary statistic
local_g() local_g_perm()
Local G
local_gstar() local_gstar_perm()
Local G*
local_jc_bv()
Bivariate local join count
local_jc_uni()
Compute local univariate join count
local_moran()
Calculate the Local Moran's I Statistic
local_moran_bv()
Compute the Local Bivariate Moran's I Statistic
losh() losh_perm()
Local spatial heteroscedacity
nb_match_test()
Local Neighbor Match Test

Global Measure of Spatial Autocorrelation

global_c()
Compute Geary's C
global_c_perm()
Global C Permutation Test
global_c_test()
Global C Test
global_g_test()
Getis-Ord Global G
global_jc_perm() global_jc_test()
Global Join Count Permutation Test
global_moran()
Calculate Global Moran's I
global_moran_bv()
Compute the Global Bivariate Moran's I
global_moran_perm()
Global Moran Permutation Test
global_moran_test()
Global Moran Test

Data

guerry guerry_nb
"Essay on the Moral Statistics of France" data set.

Networks

st_as_graph()
Create an sfnetwork
st_as_edges()
Convert to an edge lines object
st_as_nodes()
Convert to a node point object

Internal functions

check_pkg_suggests()
Check if a vector of packages are available
check_polygon()
Checks geometry for polygons.
class_modify()
Modify object classes
find_xj()
Formulas come from Anselin & Morrison's notes. Idenitfy xj values
jc_bjc_calc()
Calculate BJC Bivariate Case
jc_bjc_perm_impl()
Calculate BJC BV for conditional permutations
jc_clc_perm_impl()
Calculate CLC BV for conditional permutations
jc_uni_calc()
Calculate univariate join count at row level
jc_uni_impl()
Implementation of the univariate join count on listw objects
jc_uni_perm_impl()
Conditional permutation of univariate local join count
local_moran_bv_calc()
Calculate the Local Bivariate Moran Statistic
local_moran_bv_impl()
Local Bivariate Moran's I spdep implementation
local_moran_bv_perm_impl()
Local Bivariate Moran's I conditional permutation implementation
moran_bv_calc()
Global Bivariate Moran's I calculation
moran_bv_impl()
Global Bivariate Moran's I spdep implementation
moran_bv_perm_impl()
Global Bivariate Moran's I conditional permutation implementation
nmt_calc()
Identify matches between two neighbor lists
nmt_impl()
Implementation of Neighbor Match Test
nmt_perm_impl()
Find conditionally permuted neighbor matches
permute_listw()
Conditionally permutes a listw object
`%>%`
Pipe operator
recreate_listw()
Create a listw object from a neighbors and weight list
shuffle_nbs()
Internal function to shuffle neighbors