Currently two methods are available: gaussian kernel density estimation and Malo et al.'s method (2004). Please be advised that this package is still under development and it was only tested on Linux. You can use the issues tab to report any "bug", commentary or suggestion.
You can install the roadHotspots package from github with:
# install.packages("devtools")
library(devtools)
devtools::install_github("bmsasilva/roadHotspots")
A sample roads shapefile (roads.shp) and a sample file with observations (counts.csv) are available to test the shiny app. To find the location of these files in the system run (in the R console):
system.file("extdata", package = "roadHotspots")
To start the app run:
library(roadHotspots)
run_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.