classifierAudit {cholera}R Documentation

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

Note

This function is a diagnostic. It is not a guarantee of correct classification.

Examples

classifierAudit(case = 483, segment = "326-2")
plot(classifierAudit(case = 483, segment = "326-2"))

[Package cholera version 0.7.5 Index]