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