View source: R/geom_mean_pred.R
geom_mean_pred | R Documentation |
A calculation of the geometric mean for serial crime analysis. This function is among the centrographic methods which have been used for geographic profiling. The model assumes that the serial perpetrator's home base is relatively central among the crime incidents.
geom_mean_pred(lat, lon)
lat |
a vector of latitudes for the crime incident series |
lon |
a vector of latitudes for the crime incident series |
A latitude and longitude point of the geometric mean of the incidents. This mean can be used to prioritize the area which contains the offender's anchor point.
Jamie Spaulding, Keith Morris
#Using provided dataset for the Boston Strangler Incidents: data(desalvo) geom_mean_pred(desalvo$lat, desalvo$lon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.