Package: sfdep 0.2.4.9000

Dexter Locke

sfdep: Spatial Dependence for Simple Features

An interface to 'spdep' to integrate with 'sf' objects and the 'tidyverse'.

Authors:Josiah Parry [aut], Dexter Locke [aut, cre]

sfdep_0.2.4.9000.tar.gz
sfdep_0.2.4.9000.zip(r-4.5)sfdep_0.2.4.9000.zip(r-4.4)sfdep_0.2.4.9000.zip(r-4.3)
sfdep_0.2.4.9000.tgz(r-4.4-any)sfdep_0.2.4.9000.tgz(r-4.3-any)
sfdep_0.2.4.9000.tar.gz(r-4.5-noble)sfdep_0.2.4.9000.tar.gz(r-4.4-noble)
sfdep_0.2.4.9000.tgz(r-4.4-emscripten)sfdep_0.2.4.9000.tgz(r-4.3-emscripten)
sfdep.pdf |sfdep.html
sfdep/json (API)

# Install 'sfdep' in R:
install.packages('sfdep', repos = c('https://josiahparry.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/josiahparry/sfdep/issues

Datasets:
  • guerry - "Essay on the Moral Statistics of France" data set.
  • guerry_nb - "Essay on the Moral Statistics of France" data set.

On CRAN:

r-spatialspatial

7.27 score 125 stars 124 scripts 695 downloads 86 exports 21 dependencies

Last updated 3 months agofrom:008a59b600. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winOKNov 04 2024
R-4.5-linuxOKNov 04 2024
R-4.4-winOKNov 04 2024
R-4.4-macOKNov 04 2024
R-4.3-winOKNov 04 2024
R-4.3-macOKNov 04 2024

Exports:activateactiveas_sfas_spacetimecenter_meancenter_mediancomplete_spacetime_cubecond_permute_nbcritical_thresholdellipseemerging_hotspot_analysiseuclidean_medianfind_xjglobal_cglobal_c_permglobal_c_testglobal_colocationglobal_g_testglobal_jc_permglobal_jc_testglobal_moranglobal_moran_bvglobal_moran_permglobal_moran_testinclude_selfis_spacetimeis_spacetime_cubeis.spacetimelocal_clocal_c_permlocal_colocationlocal_glocal_g_permlocal_gstarlocal_gstar_permlocal_jc_bvlocal_jc_unilocal_moranlocal_moran_bvloshlosh_permnb_as_matrixnb_intersectnb_match_testnb_setdiffnb_unionnew_spacetimenode_get_edge_colnode_get_edge_listnode_get_nbspairwise_colocationpct_nonzerorecreate_listwremove_selfset_colset_nbsset_wtsspacetimespatial_ginist_as_edgesst_as_graphst_as_nodesst_block_nbst_cardinaltiesst_complete_nbst_contiguityst_dist_bandst_ellipsest_inverse_distancest_kernel_weightsst_knnst_lagst_nb_applyst_nb_delaunayst_nb_distsst_nb_gabrielst_nb_lagst_nb_lag_cumulst_nb_relativest_weightsstd_dev_ellipsestd_distanceszerotally_jcvalidate_spacetimewt_as_matrix

Dependencies:bootclassclassIntcliDBIdeldire1071KernSmoothlatticemagrittrMASSproxyRcpprlangs2sfspspDataspdepunitswk

Readme and manuals

Help Manual

Help pageTopics
Activate spacetime contextactivate active
Cast between 'spacetime' and 'sf' classesas_sf as_spacetime as_spacetime.sf
Calculate Center Mean Pointcenter_mean center_median euclidean_median
Convert spacetime object to spacetime cubecomplete_spacetime_cube
Conditional permutation of neighborscond_permute_nb
Identify critical thresholdcritical_threshold
Create an Ellipseellipse st_ellipse
Emerging Hot Spot Analysisemerging_hotspot_analysis
Identify xj valuesfind_xj
Compute Geary's Cglobal_c
Global C Permutation Testglobal_c_perm
Global C Testglobal_c_test
Global Colocation Quotientglobal_colocation
Getis-Ord Global Gglobal_g_test
Global Join Countsglobal_jc_perm global_jc_test tally_jc
Calculate Global Moran's Iglobal_moran
Compute the Global Bivariate Moran's Iglobal_moran_bv
Global Moran Permutation Testglobal_moran_perm
Global Moran Testglobal_moran_test
"Essay on the Moral Statistics of France" data set.guerry guerry_nb
Includes self in neighbor listinclude_self remove_self
Test if a spacetime object is a spacetime cubeis_spacetime_cube
Compute Local Geary statisticlocal_c local_c_perm
Local indicator of Colocation Quotientlocal_colocation
Local Glocal_g local_g_perm
Local G*local_gstar local_gstar_perm
Bivariate local join countlocal_jc_bv
Compute local univariate join countlocal_jc_uni
Calculate the Local Moran's I Statisticlocal_moran
Compute the Local Bivariate Moran's I Statisticlocal_moran_bv
Local spatial heteroscedacitylosh losh_perm
Local Neighbor Match Testnb_match_test
Set Operationsnb_intersect nb_setdiff nb_union
Create node features from edgesnode_get_edge_col node_get_edge_list node_get_nbs
Pairwise Colocation Quotientpairwise_colocation
Percent Non-zero Neighborspct_nonzero
Create a listw object from a neighbors and weight listrecreate_listw
Set columns from 'geometry' to 'data'set_col set_nbs set_wts
Construct a 'spacetime' objectis.spacetime is_spacetime new_spacetime spacetime validate_spacetime
Spatial Gini Indexspatial_gini
Update spacetime attributesspt_update
Convert to an edge lines objectst_as_edges st_as_edges.sf st_as_edges.sfc
Create an sfnetworkst_as_graph st_as_graph.sf st_as_graph.sfc
Convert to a node point objectst_as_nodes st_as_nodes.sf st_as_nodes.sfc
Create Block Contiguity for Spatial Regimesst_block_nb
Calculate neighbor cardinalitiesst_cardinalties
Create Neighbors as Complete Graphst_complete_nb
Identify polygon neighborsst_contiguity
Neighbors from a distance bandst_dist_band
Calculate inverse distance weightsst_inverse_distance
Calculate Kernel Weightsst_kernel_weights
Calculate K-Nearest Neighborsst_knn
Calculate spatial lagst_lag
Apply a function to neighborsst_nb_apply
Graph based neighborsst_nb_delaunay st_nb_gabriel st_nb_relative
Calculate neighbor distancesst_nb_dists
Pure Higher Order Neighborsst_nb_lag
Encompassing Higher Order Neighborsst_nb_lag_cumul
Calculate spatial weightsst_weights
Calculation Standard Deviational Ellipsestd_dev_ellipse
Calculate standard distancestd_distance
Global sum of weightsszero
tidyverse methods for spacetime objectsgroup_by.spacetime mutate.spacetime tidyverse ungroup.spacetime
Convert neighbor or weights list to matrixnb_as_matrix wt_as_matrix