plot.neighborhood_data {cholera}R Documentation

Plot method for neighborhoodData().

Description

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

Usage

## S3 method for class '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


plot(neighborhoodData())
plot(neighborhoodData(embed = FALSE))


[Package cholera version 0.8.0 Index]