Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ne_as_sf

coerce return object to sf if option set


Description

coerce return object to sf if option set

Usage

ne_as_sf(x, returnclass = c("sp", "sf"))

Arguments

x

scale of map to return, one of 110, 50, 10 or 'small', 'medium', 'large'

returnclass

'sp' default or 'sf' for Simple Features

#not exported

Value

an sf or sp object


rnaturalearth

World Map Data from Natural Earth

v0.1.0
MIT + file LICENSE
Authors
Andy South [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.