Learn R Programming

cholera (version 0.5.1)

classifierAudit: Test if case is orthogonal to segment.

Description

Diagnostic to check classification of case to a 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 road.segments.

observed

Logical. FALSE observed case; TRUE simulated case (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