| DFinch {shotGroups} | R Documentation |
Combined bullet hole data
Description
Example of a combined data frame from several files exported by OnTarget PC/TDS, each with several groups of bullet holes.
Usage
data(DFinch)
Format
A data frame with 487 observations on the following 13 variables.
project.titlea character vector giving the OnTarget PC/TDS project title.
groupa factor with levels
123. This is the originalGroupvariable as defined by OnTarget PC/TDS.ammunitiona character vector describing the ammo.
distancea numerical vector giving the distance to the target.
aim.xa numerical vector of x-coordinates giving the point of aim.
aim.ya numerical vector of y-coordinates giving the of point of aim.
center.xa numerical vector of x-coordinates giving the group centers.
center.ya numerical vector of y-coordinates giving the group centers.
point.xa numerical vector of absolute x-coordinates of bullet holes.
point.ya numerical vector of absolute y-coordinates of bullet holes.
origina factor with levels
123. This factor codes from which original output file the data is.orgsera factor with levels
1.12.13.11.22.23.21.32.33.3. This factor results fromdroplevels(interaction(origin, group)), and codes each separate group across original files. The order of the factor levels is alphabetical.seriesa factor with levels
123456789. This factor codes each separate group as defined byorgser, but more conveniently as a number that runs consecutively across original files.distance.unitMeasurement unit distance to target
point.unitMeasurement unit (x,y)-coordinates
targetCharacter string
"BDS9"indicating the target face. Seetargets
Details
Several groups of shooting a 9x19mm pistol at 27yd. The measurement unit for coordinates is inch, for distance yards.
This data frame is like those returned by readDataOT1, readDataOT2, or readDataMisc with option combine=TRUE.
See Also
combineData,
analyzeGroup,
compareGroups
Examples
data(DFinch)
str(DFinch)