Learn R Programming

shotGroups (version 0.7.1)

DFcm: 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(DFcm)

Arguments

Format

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.

Details

Several groups of shooting a 9x19mm pistol at 25m. The measurement unit for coordinates is cm, for distance meters. This data frame is like those returned by readDataOT1, readDataOT2, or readDataMisc with option combine=TRUE.

See Also

combineData, analyzeGroup, compareGroups

Examples

Run this code
data(DFcm)
str(DFcm)

Run the code above in your browser using DataLab