Learn R Programming

cholera (version 0.4.0)

unitMeter: Convert nominal map distance to yards or meters.

Description

A best guess estimate.

Usage

unitMeter(x, unit = NULL)

Arguments

x

Numeric. Nominal map distance.

unit

Character. Unit of measurement: "meter" or "yard". Default is NULL, which returns the map's native scale. See vignette("roads") for information on conversion.