ggparallel implements and combines different types of parallel
coordinate plots for categorical data: hammock plots, parallel sets plots,
common angle plots, and common angle plots with a hammock-like adjustment
for line widths.
ggparallel(vars = list(), data, weight = NULL, method = "angle", alpha = 0.5, width = 0.25, order = 1, ratio = NULL, asp = NULL, label = TRUE, label.size = 4, text.angle = 90, text.offset = NULL, ...)angle,
adj.angle, parset, or hammock, for a hammock plot
the aspect ratio needs to be fixed.'hammock', 'adj.angle'): specifies the height (width for horizontal
displays) of the widest line as ratio of the overall display height (width
for horizontal displays).Both versions, however, show perceptual problems with interpreting line widths, leading to potentially wrong conclusions about the data. The hammock display, introduced by schonlau:2003, and the common angle plots are two approaches at fixing this problem: in Hammock plots the linewidth is adjusted by a factor countering the strength of the illusion, in the common angle plot all lines are adjusted to show the same angle - making line widths again comparable across ribbons.
Additionally, we can also adjust ribbons in the common angle display for the
angle, to make them appear having the same width (or height) across the
display. We refer to this method as adj.angle.