powered by
Plot a preview of a grid
grid_preview(x, label = NULL, label_raw = NULL, do_plot = TRUE)
a data frame containing a grid
the column name in x that should be used for text labels in the grid plot
x
the column name in the optional SpatialPolygonsDataFrame attached to x that should be used for text labels in the raw geography plot
should the grid preview be plotted?
grid_preview(us_state_grid2) grid_preview(eu_grid1, label = "name")
Run the code above in your browser using DataLab