plot.walking: Plot method for walkingNominal().

View source: R/walkingNominal.R

plot.walkingR Documentation

Plot method for walkingNominal().

Description

Plot method for walkingNominal().

Usage

## S3 method for class 'walking'
plot(x, type = "roads", 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 Oct. 11, 2024, 7:31 p.m.