Learn R Programming

cholera (version 0.8.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, ...)

Value

A base R plot.

Arguments

x

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

...

Additional plotting parameters.

Examples

Run this code
# \donttest{
plot(neighborhoodData())
plot(neighborhoodData(embed = FALSE))
# }

Run the code above in your browser using DataLab