vignette: Create a vignette

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/10_gadm_sp_core.R

Description

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

Usage

1
2
3
4
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

Details

—-

Value

Object ggplot2

Note

—-

Author(s)

Jean Pierre Decorps <jp.decorps@epiconcept.fr>

References

—-

See Also

—-

Examples

1
2
3
4
5
6
# library(GADMTools)
# library(sp)
# library(ggplot2)
# FR <- gadm_loadCountries("FRA", level=1, basefile="./")
# AU <- subset(FR, regions="Auvergne", level=1)
# vignette(FR, AU)

GADMTools documentation built on Aug. 5, 2021, 1:06 a.m.