# Spatial Analysis on Network

## Documentation for package ‘spNetwork’ version 0.4.4

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

spNetwork-package | spNetwork: Spatial Analysis on Network
adaptive_bw_tnkde_cpp | The exposed function to calculate adaptive bandwidth with space-time interaction for TNKDE (INTERNAL)
adaptive_bw_tnkde_cpp2 | The exposed function to calculate adaptive bandwidth with space-time interaction for TNKDE (INTERNAL)
aggregate_points | Events aggregation
bike_accidents | Road accidents including a bicyle in Montreal in 2016
build_graph | Network generation
build_graph_directed | Directed network generation
build_quadtree | Build a quadtree
bw_cvl_calc | Bandwidth selection by Cronie and Van Lieshout's Criterion
bw_cvl_calc.mc | Bandwidth selection by Cronie and Van Lieshout's Criterion (multicore version)
bw_cv_likelihood_calc | Bandwidth selection by likelihood cross validation
bw_cv_likelihood_calc.mc | Bandwidth selection by likelihood cross validation (multicore)
bw_cv_likelihood_calc_tkde | Bandwidth selection for Temporal Kernel density estimate by likelihood cross validation
bw_tnkde_cv_likelihood_calc | Bandwidth selection by likelihood cross validation for temporal NKDE
bw_tnkde_cv_likelihood_calc.mc | Bandwidth selection by likelihood cross validation for temporal NKDE (multicore)
calc_isochrones | Isochrones calculation
closest_points | Find closest points
cosine_kernel | Cosine kernel
cross_gfunc_cpp | c++ cross g function
cross_kfunctions | Network cross k and g functions (maturing)
cross_kfunctions.mc | Network cross k and g functions (multicore, maturing)
cross_kfunc_cpp | c++ cross k function
epanechnikov_kernel | Epanechnikov kernel
esc_kernel_loo_nkde | The worker function to calculate continuous TNKDE likelihood cv
esc_kernel_loo_tnkde | The worker function to calculate continuous TNKDE likelihood cv
esd_kernel_loo_nkde | The worker function to calculate discontinuous TNKDE likelihood cv
esd_kernel_loo_tnkde | The worker function to calculate discontinuous TNKDE likelihood cv
gaussian_kernel | Gaussian kernel
gaussian_kernel_scaled | Scaled gaussian kernel
gfunc_cpp | c++ g function
graph_checking | Topological error
kfunctions | Network k and g functions (maturing)
kfunctions.mc | Network k and g functions (multicore, maturing)
kfunc_cpp | c++ k function
k_nt_functions | Network k and g functions for spatio-temporal data (experimental, NOT READY FOR USE)
k_nt_functions.mc | Network k and g functions for spatio-temporal data (multicore, experimental, NOT READY FOR USE)
lines_center | Centre points of lines
lines_direction | Unify lines direction
lines_extremities | Get lines extremities
lines_points_along | Points along lines
lixelize_lines | Cut lines into lixels
lixelize_lines.mc | Cut lines into lixels (multicore)
main_network_mtl | Primary road network of Montreal
mtl_libraries | Libraries of Montreal
mtl_network | Road network of Montreal
mtl_theatres | Theatres of Montreal
network_knn | K-nearest points on network
network_knn.mc | K-nearest points on network (multicore version)
network_listw | Network distance listw
network_listw.mc | Network distance listw (multicore)
nkde | Network Kernel density estimate
nkde.mc | Network Kernel density estimate (multicore)
nkde_get_loo_values | The exposed function to calculate NKDE likelihood cv
quartic_kernel | Quartic kernel
simple_lines | LineString to simple Line
simplify_network | Simplify a network
small_mtl_network | Smaller subset road network of Montreal
spatial_index | An object (c++ pointer) to do some spatial query of rectanlges (internal)
spatial_request | Spatial request
split_graph_components | Split graph components
split_lines_at_vertex | Split lines at vertices in a feature collection of linestrings
spNetwork | spNetwork: Spatial Analysis on Network
st_bbox_by_feature | Obtain all the bounding boxes of a feature collection
tkde | Temporal Kernel density estimate
tnkde | Temporal Network Kernel density estimate
tnkde.mc | Temporal Network Kernel density estimate (multicore)
tnkde_get_loo_values | The exposed function to calculate TNKDE likelihood cv
tnkde_get_loo_values2 | The exposed function to calculate TNKDE likelihood cv
tnkde_worker_bw_sel | Worker function fo Bandwidth selection by likelihood cross validation for temporal NKDE
triangle_kernel | triangle kernel
tricube_kernel | Tricube kernel
triweight_kernel | Triweight kernel
uniform_kernel | Uniform kernel
worker_adaptive_bw_tnkde | Worker function for adaptive bandwidth for TNDE