Example of a combined data frame from several files exported by OnTarget PC/TDS, each with several groups of bullet holes.
data(DFinch)
A data frame with 487 observations on the following 13 variables.
project.title
a character vector giving the OnTarget PC/TDS project title.
group
a factor with levels 1
2
3
. This is the original Group
variable as defined by OnTarget PC/TDS.
ammunition
a character vector describing the ammo.
distance
a numerical vector giving the distance to the target.
aim.x
a numerical vector of x-coordinates giving the point of aim.
aim.y
a numerical vector of y-coordinates giving the of point of aim.
center.x
a numerical vector of x-coordinates giving the group centers.
center.y
a numerical vector of y-coordinates giving the group centers.
point.x
a numerical vector of absolute x-coordinates of bullet holes.
point.y
a numerical vector of absolute y-coordinates of bullet holes.
origin
a factor with levels 1
2
3
. This factor codes from which original output file the data is.
orgser
a factor with levels 1.1
2.1
3.1
1.2
2.2
3.2
1.3
2.3
3.3
. This factor results from droplevels(interaction(origin, group))
, and codes each separate group across original files. The order of the factor levels is alphabetical.
series
a factor with levels 1
2
3
4
5
6
7
8
9
. This factor codes each separate group as defined by orgser
, but more conveniently as a number that runs consecutively across original files.
distance.unit
Measurement unit distance to target
point.unit
Measurement unit (x,y)-coordinates
target
Character string "BDS9"
indicating the target face. See targets
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
.
combineData
,
analyzeGroup
,
compareGroups