Learn R Programming

cholera (version 0.4.0)

plot.euclidean_distance: Plot the Euclidean distance between cases and/or pumps.

Description

Plot method for euclideanDistance().

Usage

# S3 method for euclidean_distance
plot(x, zoom = TRUE, radius = 0.5, ...)

Arguments

x

An object of class "euclidean_distance" created by euclideanDistance().

zoom

Logical.

radius

Numeric. Controls the degree of zoom.

...

Additional plotting parameters.

Value

A base R plot.

Examples

Run this code
# NOT RUN {
plot(euclideanDistance(1))
# }

Run the code above in your browser using DataLab