Description Usage Arguments Value Author(s) Examples

View source: R/geom_mean_pred.R

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.

1 | ```
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

1 2 3 | ```
#Using provided dataset for the Boston Strangler Incidents:
data(desalvo)
geom_mean_pred(desalvo$lat, desalvo$lon)
``` |

```
geom_lat geom_lon
[1,] 42.42429 -71.08213
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.