Learn R Programming

cholera (version 0.5.1)

plot.walking: Plot method for neighborhoodWalking().

Description

Plot method for neighborhoodWalking().

Usage

# S3 method for walking
plot(x, type = "road", ...)

Arguments

x

An object of class "walking" created by neighborhoodWalking().

type

Character. "road", "area.points" or "area.polygons". "area" flavors only valid when case.set = "expected".

...

Additional plotting parameters.

Value

A base R plot.

Examples

Run this code
# NOT RUN {
plot(neighborhoodWalking())
plot(neighborhoodWalking(case.set = "expected"))
plot(neighborhoodWalking(case.set = "expected"), type = "area.points")
plot(neighborhoodWalking(case.set = "expected"), type = "area.polygons")
# }

Run the code above in your browser using DataLab