| combineData | R Documentation |
Combines a list of data frames (the result from using readDataOT1, readDataOT2, or readDataMisc with combine=FALSE) into one big data frame.
combineData(DFs)
DFs |
a list of data frames with a shared set of variables. |
Assumes that the data frames in the list have a non-empty set of shared variables. Among them at least either point.x, point.y or x, y defining the bullet holes. To be useful for functions analyzeGroup or compareGroups, the data frames should also have variables group, distance, aim.x, aim.y defining point of aim. If group is missing, it is set to 1.
A data frame with the shared set of variables. In addition, it also contains factors identifying the original file (file), and a factor identifying all groups from different data frames (series).
... |
the shared set of variables from the the data frames in the list. |
group |
a factor that is the original |
groupVerb |
a factor that codes group with more descriptive levels taken from the original project title, file name and ammunition (if available). |
file |
a factor that codes from which original file the data is. |
series |
a factor that codes each separate group across original files. |
seriesNum |
a factor that codes each separate group as a number that runs consecutively across original files. |
readDataMisc,
readDataOT1,
readDataOT2,
analyzeGroup,
compareGroups
## combine list of data frames to one single data frame data(DFlistCm) DFcm <- combineData(DFlistCm) str(DFcm) head(DFcm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.