DFsavage {shotGroups} | R Documentation |
Combined bullet hole data
Description
Example of a combined data frame from several original files, each with one group.
Usage
data(DFsavage)
Format
A data frame with 180 observations on the following 10 variables.
point.x
a numerical vector of absolute x-coordinates of bullet holes.
point.y
a numerical vector of absolute y-coordinates of bullet holes.
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.
distance
a numerical vector giving the distance to the target.
group
a factor with level
1
. This is the originalGroup
variable as defined by OnTarget PC/TDS.bullet
a character vector describing the bullet type.
origin
a factor with levels
1
...9
. This factor codes from which original output file the data is.orgser
a factor with levels
1.1
...9.1
. This factor results fromdroplevels(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
...9
. This factor codes each separate group as defined byorgser
, 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
Details
Several groups of shooting a Savage 12 FT/R rifle in .308 Win at distances from 100 to 300m. The measurement unit for coordinates is mm, for distance meters. Shots 1-5 in series
4, and shots 1-3 in series
7 moved the scope.
This data frame is like those returned by readDataOT1
, readDataOT2
, or readDataMisc
with option combine=TRUE
.
Data copyright Charles McMillan and Paul McMillan, 2008.
See Also
combineData
,
analyzeGroup
,
compareGroups
Examples
data(DFsavage)
str(DFsavage)