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