Description Usage Arguments Value
View source: R/analyse_utils.R
From spdep neighbour object to data frame usable with ggplot2
1 | nb2ggplot(nb, stations)
|
nb |
nb object obtained with |
stations |
sf object containing geometry points of each location |
data.frame with lon, lat for each point and lon_to and lat_to as xend and yend for geom_segment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.