Skip to contents

utility functions for sf object

sf_geometry_name()
sf object geometry column name
sf_geometry_type()
sf object geometry type
sf_voronoi_diagram()
generates voronoi diagram
sf_coordinates()
extract locations
sf_distance_matrix()
generates distance matrix
sf_utm_proj_wgs84()
generates wgs84 utm projection epsg coding character

utility functions for spdep package

spdep_nb()
construct neighbours list
spdep_contiguity_swm()
constructs spatial weight matrices based on contiguity
spdep_distance_swm()
constructs spatial weight matrices based on distance
spdep_skater()
spatial c(k)luster analysis by tree edge removal
spdep_lmtest()
spatial linear models selection

utility functions for spatial data science

moran_test()
test global spatial autocorrelation
ssh_test()
test explanatory power of spatial stratified heterogeneity
inverse_distance_swm()
construct inverse distance weight
hclustgeo_disc()
hierarchical clustering with spatial soft constraints
fuzzyoverlay()
spatial fuzzy overlay
loess_optnum()
determine optimal spatial data discretization for individual variables
geodetector_q()
only geodetector q-value
spvar()
spatial variance

utility functions for data science

dummy_vec()
transforming a categorical variable into dummy variables
dummy_tbl()
transforming a category tibble into the corresponding dummy variable tibble
discretize_vector()
discretization
normalize_vector()
normalization
standardize_vector()
standardization
generate_subsets()
generate subsets of a set
formula_varname()
get variable names in a formula and data
check_tbl_na()
check for NA values in a tibble
tbl_all2int()
convert discrete variables in a tibble to integers