Learn R Programming

cholera (version 0.4.0)

classifierAudit: Test if case is orthogonal to segment.

Description

Diagnostic to classify case by road segment.

Usage

classifierAudit(case = 483, segment = "326-2", observed = TRUE,
  coordinates = FALSE)

Arguments

case

Numeric or Integer. Numeric ID of observed case.

segment

Character. Segment ID. See cholera::road.segments

observed

Logical. TRUE observed case; FALSE simulated case (cholera::regular.cases).

coordinates

Logical. Orthogonal projection coordinates.

Value

Logical TRUE or FALSE

Examples

Run this code
# NOT RUN {
classifierAudit(case = 483, segment = "326-2")
plot(classifierAudit(case = 483, segment = "326-2"))
# }

Run the code above in your browser using DataLab