Learn R Programming

cholera (version 0.7.0)

plot.classifier_audit: Plot result of classifierAudit().

Description

Plot case, segment and orthogonal projector.

Usage

# S3 method for classifier_audit
plot(x, zoom = 0.5, unit = "meter", ...)

Arguments

x

An object of class "classifier_audit" created by classifierAudit().

zoom

Logical or Numeric. A numeric value >= 0 controls the degree of zoom. The default is 0.5.

unit

Character. Unit of distance: "meter" (the default), "yard" or "native". "native" returns the map's native scale. "unit" is meaningful only when "weighted" is TRUE. See vignette("roads") for information on unit distances.

...

Additional parameters.

Value

A base R graphic.

Examples

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

Run the code above in your browser using DataLab