A method for creating vertical histograms sharing a y-axis using base graphics.
freq argument which is equivalent to the
freq argument in
FALSE (default), frequency densities are represented; if
TRUE, frequencies/counts are represented.
rhs argument which, if specified, splits xyloplots in the middle, with left hand side distribution given by
x and right hand side by
Added 'Examples' vignette and
xylo_positions function which lets you get the positions of the xylophones lest the user wants to add more graphical objects to the plot.
Fix bug whereby
max valued data point not shown for continuous data.
Added support for plotting discrete data supplied as character vectors or factors - e.g.
xyloplot(sample(c("goldfish","cat","dog","fish","mouse","giraffe"), size=100, replace=TRUE)),
xyloplot(replicate(n=5, simplify=FALSE, expr=factor(sample(c(0.01, 0.1, 0.2, 0.25, 0.5, 1), size=10, replace=TRUE))), col=rainbow(5))