Returns range statistics: extreme spread, figure of merit, bounding box diagonal
getRangeStat(xy, dstTarget, conversion)# S3 method for data.frame
getRangeStat(xy, dstTarget, conversion)
# S3 method for default
getRangeStat(xy, dstTarget, conversion)
A named numeric vector with elements ES
(extreme spread), FoM
(figure of merit), D
(bounding box diagonal).
either a numerical (n x p)-matrix with the coordinates of n points (1 row of p coordinates per point), or a data frame with either the variables x
, y
or point.x
, point.y
(optionally z
or point.z
).
a numerical value giving the distance to the target - used in MOA calculation. Acts as override if variable distance
is already included in xy
. See getMOA
.
how to convert the measurement unit for distance to target to that of the (x,y)-coordinates in MOA calculation. Acts as override if variables dist.unit
and point.unit
are already included in xy
. Example 'm2cm'
. See getMOA
.
Grubbs, F. E. (1964b). Statistical measures of accuracy for riflemen and missile engineers. Ann Arbor, ML: Edwards Brothers.
getMaxPairDist
,
getBoundingBox