harm_mean_pred: Calculation of Harmonic Mean for Geographic Profiling

Description Usage Arguments Value Author(s) Examples

View source: R/harm_mean_pred.R

Description

A calculation of the harmonic 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.

Usage

1
harm_mean_pred(lat, lon)

Arguments

lat

a vector of latitudes for the crime incident series

lon

a vector of latitudes for the crime incident series

Value

A latitude and longitude point of the harmonic mean of the incidents. This mean can be used to prioritize the area which contains the offender's anchor point.

Author(s)

Jamie Spaulding, Keith Morris

Examples

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

rgeoprofile documentation built on June 9, 2021, 9:08 a.m.