getRangeStat {shotGroups} | R Documentation |
Range statistics
Description
Returns range statistics: extreme spread, figure of merit, bounding box diagonal
Usage
getRangeStat(xy, dstTarget, conversion)
## S3 method for class 'data.frame'
getRangeStat(xy, dstTarget, conversion)
## Default S3 method:
getRangeStat(xy, dstTarget, conversion)
Arguments
xy |
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 |
dstTarget |
a numerical value giving the distance to the target - used in MOA calculation. Acts as override if variable |
conversion |
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 |
Value
A named numeric vector with elements ES
(extreme spread), FoM
(figure of merit), D
(bounding box diagonal).
References
Grubbs, F. E. (1964b). Statistical measures of accuracy for riflemen and missile engineers. Ann Arbor, ML: Edwards Brothers.
See Also
getMaxPairDist
,
getBoundingBox
Examples
getRangeStat(DFscar17)