Learn R Programming

tilegramsR (version 0.1.4)

DKOS_Distorted_Electoral_College_Map_v1: DKOS_Distorted_Electoral_College_Map_v1

Description

A `SpatialPolygonsDataFrame` where each polygon represents a state

A `SpatialPointsDataFrame` of centroids of each state

Usage

DKOS_Distorted_Electoral_College_Map_v1
DKOS_Distorted_Electoral_College_Map_v1.centers

Arguments

Format

A SpatialPolygonsDataFrame

Examples

Run this code
## Not run: 
# library(leaflet)
# library(tilegramsR)
# spdf <- DKOS_Distorted_Electoral_College_Map_v1
# leaflet(spdf) %>% addPolygons()
# ## End(Not run)

Run the code above in your browser using DataLab