Learn R Programming

GADMTools (version 3.9-1)

gadm_plot: Draw a gadm_sf or gadm_sp object

Description

Draw a gadm_sf or gadm_sp object with ggplot2

Usage

gadm_plot(x, title="") 

plotmap(x, title="") # deprecated

Arguments

x

Object gadm_sf or gadm_sp

title

String - Title of the plot. Default is an empty string

Value

Object ggplot2

Examples

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

gadm_plot(Corsica)
# }

Run the code above in your browser using DataLab