gmap_indicator | R Documentation |
Statically map indicators using ggplot
gmap_indicator( grid, column = "shannon", label = "Shannon index", trans = "identity", crs = "+proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" )
grid |
spatial features, e.g. hexagons, to plot; requires a geometry spatial column |
column |
column name with indicator; default="shannon" |
label |
label to show on legend |
trans |
For continuous scales, the name of a transformation object or
the object itself. Built-in transformations include "asn", "atanh",
"boxcox", "date", "exp", "hms", "identity" (default), "log", "log10", "log1p",
"log2", "logit", "modulus", "probability", "probit", "pseudo_log",
"reciprocal", "reverse", "sqrt" and "time". See |
crs |
coordinate reference system; see |
ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.