View source: R/utils_shapefile.R
plot_id | R Documentation |
Based on a shapefile, number of columns and rows, generate plot IDs with different layouts.
plot_id(
shapefile,
nrow,
ncol,
layout = c("tblr", "tbrl", "btlr", "btrl", "lrtb", "lrbt", "rltb", "rlbt"),
plot_prefix = "P",
serpentine = FALSE
)
shapefile |
An object computed with |
nrow |
The number of columns |
ncol |
The number of rows |
layout |
Character: one of
|
plot_prefix |
The plot_id prefix. Defaults to |
serpentine |
Create a serpentine-based layout? Defaults to |
A vector of plot IDs with specified layout
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.