powered by
Produce a parallel lines plot for paired data.
paired.plotMcNeil(df, condition1, condition2, groups = NULL, subjects,facet = TRUE, ...)
a data frame.
name of the variable corresponding to the second sample.
name of the variable corresponding to the first sample.
names of the variable corresponding to groups (optional).
names of the variable corresponding to subjects.
faceting or grouping strategy for plotting?
further arguments to be passed to methods.
a graphical object of class ggplot.
McNeil, D.R. (1992) On graphing paired data. The American Statistician, 46 :307-310.
plotBA
# NOT RUN { data(PrisonStress) paired.plotMcNeil(PrisonStress,"PSSbefore","PSSafter",subjects="Subject") # }
Run the code above in your browser using DataLab