Last data update: 2014.03.03

R: A Method for Creating Xylophone-Like Frequency Density Plots
xyloplot-packageR Documentation

A Method for Creating Xylophone-Like Frequency Density Plots

Description

A method for creating vertical histograms sharing a y-axis using base graphics.

Details

xyloplot provides a generic method for plotting frequency density plots in the style of histograms akin to violin plots for numeric vectors and lists of numeric vectors.

Author(s)

Daniel Greene Maintainer: Daniel Greene <dg333@cam.ac.uk>

Examples

  xyloplot(rnorm(1000))
  xyloplot(lapply(1:3, function(mean) rnorm(mean=mean, n=1000)), col=rainbow(3))

Results