boxDensityPlot: boxDensityPlot

Description Usage Arguments

Description

This is an alternative plot to hist or plot density. Instead of binning or smoothing each item is drawn around its position +- diff. These are then stacked vertically. A rounding option is built in to give a cleaner building block look.

Usage

1
2
3
boxDensityPlot(dta, type = "p", diff = 0.1, rnd = 0.01, xaxs = "i",
  yaxs = "i", ylab = "Density", xlab = "test", col = 2, border = 1,
  add = FALSE, xlim = NULL, ylim = NULL, ...)

Arguments

dta

The data

diff

The width of each item to be plotted in

rnd

a number to round all values to

xaxs, yaxs, xlim, ylim, ylab

Standard plot options

col

the fill colour

border

the border colour

add

TRUE/FALSE add to an existing plot or not

...

other values passed to the polygon function


finite2/peter.utilities documentation built on May 16, 2019, 12:54 p.m.