Learn R Programming

rnaturalearth (version 0.3.2)

ne_as_sp: coerce return object to sp if option set

Description

coerce return object to sp if option set

Usage

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

Value

an sf or sp object

Arguments

x

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

returnclass

'sp' default or 'sf' for Simple Features