In addition to the plot2.density method from PR #18, it would be nice to have a formula-based interface:
plot2(~ x | by, type = c("density", "histogram"), ...)
where it can be selected which display is used for x in each by group.
In addition to just lines it would be nice to support semi-transparent shaded areas below the lines as well (via polygon()). The area might also be opaque if we order the by groups (e.g., by median) from highest to lowest, which would yield a kind of ridge lines plot.
GM edit: adding task items to track.
In addition to the
plot2.densitymethod from PR #18, it would be nice to have a formula-based interface:where it can be selected which display is used for
xin eachbygroup.In addition to just lines it would be nice to support semi-transparent shaded areas below the lines as well (via
polygon()). The area might also be opaque if we order the by groups (e.g., by median) from highest to lowest, which would yield a kind of ridge lines plot.GM edit: adding task items to track.