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

View source: R/euclideanPath.R

plot.euclidean_pathR 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'
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" created by euclideanPath().

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 Jan. 13, 2025, 3:49 p.m.