Plot a preview of a grid

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

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

do_plot

should the grid preview be plotted?

Examples

grid_preview(us_state_grid2)

grid_preview(eu_grid1, label = "name")