grid_preview: Plot a preview of a grid

View source: R/facet_geo.R

grid_previewR Documentation

Plot a preview of a grid

Description

Plot a preview of a grid

Usage

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")

geofacet documentation built on May 29, 2024, 8:13 a.m.