plot.walking_path: Plot the walking path between selected cases and/or pumps.

View source: R/walkingPath.R

plot.walking_pathR Documentation

Plot the walking path between selected cases and/or pumps.

Description

Plot the walking path between selected cases and/or pumps.

Usage

## S3 method for class 'walking_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 "walking_path" created by walkingPath().

zoom

Logical or Numeric. A numeric value >= 0 controls the degree of zoom. A value of 1 equals zoom = TRUE.

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 Sept. 25, 2024, 12:04 a.m.