Skip to contents

Produce a ggplot2 visualisation of a (neighbourhood) graph.

Usage

plot_graph(sf, add_geography = FALSE)

Arguments

sf

A simple features object with some geometry.

add_geography

Should a map of the geography be plotted alongside the graph?

Value

A ggplot2 plot.

Examples

plot_graph(mw, add_geography = TRUE)
#> Error in .class1(object): object 'mw' not found