Skip to contents

create world map as sf object

Usage

create_world_map_custom_center(center = 100, class = "sf")

Arguments

name

description

Value

sf object

Examples

sf = create_world_map_custom_center()
#> Spherical geometry (s2) switched off
#> although coordinates are longitude/latitude, st_intersection assumes that they
#> are planar
#> Warning: attribute variables are assumed to be spatially constant throughout all geometries
#> Spherical geometry (s2) switched on
#> Error in sf_use_s2(FALSE): could not find function "sf_use_s2"
ggplot() + geom_sf(data =sf)
#> Error in ggplot(): could not find function "ggplot"