getRangeStat | R Documentation |
Returns range statistics: extreme spread, figure of merit, bounding box diagonal, each with corresponding confidence interval (CI). CI assumes a circular bivariate normal shot distribution with 0 mean, and all shots from the same group.
getRangeStat(xy, dstTarget, conversion, CIlevel=0.95)
## S3 method for class 'data.frame'
getRangeStat(xy, dstTarget, conversion, CIlevel=0.95)
## Default S3 method:
getRangeStat(xy, dstTarget, conversion, CIlevel=0.95)
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 |
CIlevel |
a numerical value with the coverage for the confidence interval. |
Range stat CIs only available if data contains at most as many shots as tabulated in DFdistr
.
A named list with first component range_stat
. This is a matrix with columns ES
(extreme spread), FoM
(figure of merit), D
(bounding box diagonal). The second component CI
gives the corresponding confidence interval boundaries as a named list with components ES
, FoM
, D
.
Grubbs, F. E. (1964b). Statistical measures of accuracy for riflemen and missile engineers. Ann Arbor, ML: Edwards Brothers.
getMaxPairDist
,
getBoundingBox
getRangeStat(DFscar17)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.