Learn R Programming

cholera (version 0.7.0)

plot.neighborhood_data: Plot method for neighborhoodData().

Description

Visualize underlying road network (with or without cases and pumps).

Usage

# S3 method for neighborhood_data
plot(x, ...)

Arguments

x

An 'igraph' object of class "neighborhood_data" created by neighborhoodData().

...

Additional plotting parameters.

Value

A base R plot.

Examples

Run this code
# NOT RUN {
plot(neighborhoodData())
plot(neighborhoodData(embed = FALSE))
# }

Run the code above in your browser using DataLab