Learn R Programming

GADMTools (version 3.9-1)

gadm_showNorth: display a north arrow on a plot

Description

display a north arrow on a plot (ggplot2)

Usage

gadm_showNorth(plot, where="br")

Arguments

plot

ggplot2

where

character location of the arrow. Can be:

  • "tl" - top left

  • "tr" - top right

  • "bl" - bottom left

  • "br" - bottom right (default)

Value

Object ggplot2

Examples

Run this code
# NOT RUN {
library(GADMTools)
data("Corsica")

plotmap(Corsica) %>% gadm_showNorth()
# }

Run the code above in your browser using DataLab