| GeoCount | R Documentation | 
This function calculates the number of incidents (e.g., violent events) within a specified distance around specified points (e.g., villages).
GeoCount(x, y, distance, x.latitude = "latitude",
         x.longitude = "longitude", y.latitude = "latitude",
         y.longitude = "longitude")
| x | data frame containing the longitude and the latitude of points. | 
| y | data frame containing the longitude and the latitude of incidents. | 
| distance | numeric. The distance from points in kilometers. | 
| x.latitude | character.  The variable name for the latitude in  | 
| x.longitude | character.  The variable name for the longitude in  | 
| y.latitude | character.  The variable name for the latitude in  | 
| y.longitude | character.  The variable name for the longitude in  | 
Yuki Shiraito, Department of Political Science, University of Michigan shiraito@umich.edu.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.