Learn R Programming

PairedData (version 1.1.1)

slidingchart: Sliding square plot

Description

Draw a sliding square plot for paired data which mixes the usual scatterplot with the tukey mean-difference plot.

Usage

# S4 method for paired
slidingchart(object,...)

Arguments

object

an object of class paired.

arguments to be passed to methods.

References

  • Rosenbaum, P.R. (1989) Exploratory plot for paired data. American Statistician, 43, 108-110.

  • Pontius, J.S. and Schantz, R.M. (1994) Graphical analyses of a twoperiod crossover design. The American Statistician, 48, 249-253.

  • Pruzek, R.M. and Helmreich, J.E. (2009) Enhancing dependent sample analyses with graphics. Journal of Statistics Education, 17.

See Also

plot

Examples

Run this code
# NOT RUN {
data(PrisonStress)
with(PrisonStress,slidingchart(paired(PSSbefore,PSSafter)))
# }

Run the code above in your browser using DataLab