powered by
You must have the bcmapsdata package installed to use this function.
bcmapsdata
ecoregions(class = "sf")
what class you want the object in? "sf" (default) or "sp".
"sf"
"sp"
The spatial layer of ecoregions in the desired class
ecoregions
Type ?bcmapsdata::ecoregions for details.
?bcmapsdata::ecoregions
# NOT RUN { my_layer <- ecoregions() my_layer_sp <- ecoregions(class = 'sp') # } # NOT RUN { # }
Run the code above in your browser using DataLab