getKuchnost {shotGroups} | R Documentation |
Kuchnost precision estimate
Description
Estimates the Kuchnost precision measure. The maximum distance to the group center after removing outliers.
Usage
getKuchnost(xy, dstTarget, conversion,
center = FALSE, doRob = FALSE, strict = FALSE)
## S3 method for class 'data.frame'
getKuchnost(xy, dstTarget, conversion,
center = FALSE, doRob = FALSE, strict = FALSE)
## Default S3 method:
getKuchnost(xy, dstTarget, conversion,
center = FALSE, doRob = FALSE, strict = FALSE)
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 |
center |
logical: center groups to mean (0,0) first? If variable |
doRob |
logical: use robust estimation of center and covariance matrix as basis for estimators? |
strict |
logical: enable check that |
Details
An outlier is defined as a shot that is at least 2.5 times further away from the group center defined by all remaining shots compared to the maximum distance to center of those shots themselves.
Value
A list with 3 components.
Kuchnost |
The Kuchnost precision measure. |
outlier |
Indices of outliers, if any. |
ctr |
group center after removing outliers |
References
https://github.com/lstange/mcgs
See Also
Examples
getKuchnost(DF300BLK)