plot.euclidean_path_B: Plot the path of the Euclidean distance between cases and/or...

View source: R/euclideanPathB.R

plot.euclidean_path_BR Documentation

Plot the path of the Euclidean distance between cases and/or pumps.

Description

Plot the path of the Euclidean distance between cases and/or pumps.

Usage

## S3 method for class 'euclidean_path_B'
plot(x, zoom = TRUE, long.title = TRUE,
  mileposts = TRUE, milepost.unit = "distance", milepost.interval = NULL,
  alpha.level = 1, ...)

Arguments

x

An object of class "euclidean_path_B" created by euclideanPathB().

zoom

Logical or Numeric. A numeric value >= 0 controls the degree of zoom. The default is 0.5.

long.title

Logical. Tile with names.

mileposts

Logical. Plot mile/time posts.

milepost.unit

Character. "distance" or "time".

milepost.interval

Numeric. Mile post interval unit of distance (yard or meter) or unit of time (seconds).

alpha.level

Numeric. Alpha level transparency for path: a value in [0, 1].

...

Additional plotting parameters.

Value

A base R plot.


lindbrook/cholera documentation built on April 29, 2024, 12:22 p.m.