Description Usage Format Details Source Examples
Location of homicides in Pittsburgh, PA (1993).
1 |
An sf data frame with 143 rows, 9 variables, and a geometry column:
Identifier for case, as character
Identifier for case, as numeric
Year of homicide
Indicator variable, 1 = gun used
Indicator variable, 1 = gang-related
Indicator variable, 1 = drug-related
X-coordinate
Y-coordinate
Sf object, unprojected. EPSG 4326: WGS84.
Subset of Pitthom. Original data made available by George Tita, Department of Criminology, Law and Society, University of California, Irvine, CA 92697, (gtita@uci.edu).
1 2 3 4 5 | if (requireNamespace("sf", quietly = TRUE)) {
library(sf)
data(pittsburghom)
plot(pittsburghom["GUN"])
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.