Learn R Programming

rgeoprofile (version 0.2.2)

circle_center: Center of the Circle Calculation for Geographic Profiling

Description

A calculation for the center of the circle which bounds the incident coordinates 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

circle_center(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 coordinate for the center of the circle which encompasses the incidents. This point can be used to prioritize the area which contains the offender's anchor point.

Examples

Run this code
# NOT RUN {
#Using provided dataset for the Boston Strangler Incidents:
data(desalvo)
circle_center(desalvo$lat, desalvo$lon)
# }

Run the code above in your browser using DataLab