Learn R Programming

cholera (version 0.5.1)

unitMeter: Convert nominal map distance to meters or yards.

Description

A best guess estimate.

Usage

unitMeter(x, unit = "meter", yard.unit = 177/3, meter.unit = 54)

Arguments

x

Numeric. Nominal map distance.

unit

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

yard.unit

Numeric. Estimate of yards per map unit.

meter.unit

Numeric. Estimate of meters per map unit:.