compareGroups(DF, plots = TRUE, xyTopLeft = TRUE,
ABalt = c('two.sided', 'less', 'greater'),
Walt = c('two.sided', 'less', 'greater'),
conversion = 'm2cm')Series (a factor), Distance, Aim.X, Aim.Ydefining point of aim, Point.X, and Point.YgetMOA.Group variable identifies groups just within one file, whereas factor Series is taken to number groups also across different original files. If you only have one original file, you can just copy variable Groups to Series in your data frame.
In addition to the numerical results listed below, this function produces the following diagrams:
combineData,
analyzeGroup,
getDistToCtr,
getMaxPairDist,
getMinBBox,
getMinCircle,
getMOA,
drawEllipse,
anova.mlm,
ansari_test,
fligner_test,
wilcox_test,
kruskal_testdata(DFinch)
# select only first 2 series
DFsub <- subset(DFinch, Series %in% c(2:3))
cmp <- compareGroups(DFsub, conversion='yd2in')
names(cmp)
cmp$ctr
cmp$meanDistToCtr
cmp$WilcoxonRun the code above in your browser using DataLab