Learn R Programming

Rsampling (version 0.1.1)

splot: Spaghetti plot

Description

Quick plot of paired differences, for exploratory purposes.

Usage

splot(p1, p2, highlight = TRUE, col.dif = c("black", "grey"), groups.names = c(1, 2), ...)

Arguments

p1, p2
vectors of paired values (numerical vectors)
highlight
should positive and negative differences within pairs highlighted with different colors? Logical
col.dif
color vector if highlight = TRUE
groups.names
labels for the groups names; numeric or character vector of length two.
...
further arguments to be passed to plot function.