Learn R Programming

GADMTools (version 3.9-1)

vignette: Create a vignette

Description

Vignette will superimpose a region map over a larger (lower level) map.

Usage

vignette(main, region, maincolor = "black",
        regioncolor = "white", mainfill = "grey", 
        regionfill = "black", 
        mainsize = 1, regionsize = 0.5)

Arguments

main

Object gadm_sp

region

Object gadm_sp

maincolor

a valid color

regioncolor

a valid color

mainfill

a valid color

regionfill

a valid color

mainsize

Numeric border size

regionsize

Numeric border size

Value

Object ggplot2

Details

----

References

----

See Also

----

Examples

Run this code
# NOT RUN {
# library(GADMTools)
# library(sp)
# library(ggplot2)
# FR <- gadm_loadCountries("FRA", level=1, basefile="./")
# AU <- subset(FR, regions="Auvergne", level=1)
# vignette(FR, AU)
# }

Run the code above in your browser using DataLab