geofacet (version 0.1.9)

grid_preview: Plot a preview of a grid

Description

Plot a preview of a grid

Usage

grid_preview(x, label = NULL, label_raw = NULL)

Arguments

x

a data frame containing a grid

label

the column name in x that should be used for text labels in the grid plot

label_raw

the column name in the optional SpatialPolygonsDataFrame attached to x that should be used for text labels in the raw geography plot

Examples

Run this code
# NOT RUN {
grid_preview(us_state_grid2)
grid_preview(eu_grid1, label = "name")
# }

Run the code above in your browser using DataCamp Workspace