Learn R Programming

WorldMapR (version 1.3.0)

empty_editable_map: empty_editable_map

Description

Plot a world map which can be edited in powerpoint.

Usage

empty_editable_map(lon, lat, crs = 4326, sf_use_s2 = FALSE)

Value

a map

Arguments

lon

Longitude limits.

lat

Latitude limits.

crs

Coordinate reference system (EPSG). By default the value is 4326, which corresponds to EPSG::4326 (WGS84)

sf_use_s2

sf_use_s2 option, deafult is FALSE

Examples

Run this code
if (FALSE) empty_editable_map(lon = c(2600000, 9300000), lat = c(5450000, 1000000), crs = 3035)
export::graph2ppt(file ="editable_map.pptx", width = 7, height = 4)
if (FALSE) empty_editable_map(lon = c(-15, 40), lat = c(20, 65), crs = 4326)

Run the code above in your browser using DataLab