plot.walkingB: Plot method for walkingB().

View source: R/walkingB.R

plot.walkingBR Documentation

Plot method for walkingB().

Description

Plot method for walkingB().

Usage

## S3 method for class 'walkingB'
plot(x, type = "area.points",
  tsp.method = "repetitive_nn", ...)

Arguments

x

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

type

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

tsp.method

Character. Traveling salesperson problem algorithm.

...

Additional plotting parameters.

Value

A base R plot.

Note

When plotting area graphs with simulated data (i.e., case.set = "expected"), there may be discrepancies between observed cases and expected neighborhoods, particularly between neighborhoods. type = "roads" inspired by Shiode et. al. (2015).


lindbrook/cholera documentation built on Jan. 13, 2025, 3:49 p.m.