Learn R Programming

shotGroups (version 0.1)

fromMOA: Conversion from minutes of angle

Description

Converts MOA (minutes of angle) to object size.

Usage

fromMOA(x, dst, conversion = 'm2cm')

Arguments

x
a numerical vector of MOA values.
dst
a numerical vector of viewing distances.
conversion
how to convert the measurement unit for distance to target to that of the (x,y)-coordinates. Either a character vector indicating the conversion: 'm2cm' for meter to centimeter, 'm2mm' for meter to millimeter, 'yd2in'

Value

  • A numerical vector with the object sizes. The measurement unit is determined by conversion.

See Also

getMOA

Examples

Run this code
objMOA <- seq(10, 30, by=5)
objDst <- 25                 # m
fromMOA(objMOA, dst=objDst, conversion='m2cm')

Run the code above in your browser using DataLab