R/add_ggplot.R
add_ggplot.Rd
add_ggplot allows for plotdap ggplot maps to be modified by further ggplot2 settings
add_ggplot
add_ggplot(plot, ...)
a plotdap object.
arguments passed along to geom_sf() (if method='ggplot2', otherwise ignored).
geom_sf()
method='ggplot2'
A plotdap object
p <- plotdap( crs = "+proj=laea +y_0=0 +lon_0=155 +lat_0=-90 +ellps=WGS84 +no_defs") #> Loading required package: maps p <- add_ggplot( p, ggplot2::theme_bw() )