# Data manipulation
# Load sf polygon
# \donttest{
CA_polygon <- spnaf::CA_polygon
# }
# Execution of Networknb with data above and given parameters
# \donttest{
nnb <- Networknb(shape = CA_polygon, queen = TRUE, snap = 1, method = 'o')
# }
# check the results
# \donttest{
head(nnb)
# }
Run the code above in your browser using DataLab