Usage
histogram(x, ...)
densityplot(x, ...)
## S3 method for class 'formula':
histogram(x,
data = parent.frame(),
allow.multiple, outer = TRUE,
auto.key = FALSE,
aspect = "fill",
panel = "panel.histogram",
prepanel, scales, strip, groups,
xlab, xlim, ylab, ylim,
type = c("percent", "count", "density"),
nint = if (is.factor(x)) length(levels(x))
else round(log2(length(x)) + 1),
endpoints = extend.limits(range(x, finite = TRUE), prop = 0.04),
breaks = if (is.factor(x)) seq(0.5, length = length(levels(x))+1)
else do.breaks(endpoints, nint),
equal.widths = TRUE,
drop.unused.levels = lattice.getOption("drop.unused.levels"),
...,
default.scales = list(),
subscripts,
subset)## S3 method for class 'numeric':
histogram(x, data, xlab, \dots)
## S3 method for class 'factor':
histogram(x, data, xlab, \dots)
## S3 method for class 'formula':
densityplot(x,
data = parent.frame(),
allow.multiple = is.null(groups) || outer,
outer = !is.null(groups),
auto.key = FALSE,
aspect = "fill",
panel = if (is.null(groups)) "panel.densityplot" else "panel.superpose",
prepanel, scales, strip, groups,
xlab, xlim, ylab, ylim,
bw, adjust, kernel, window, width, give.Rkern,
n = 50, from, to, cut, na.rm,
drop.unused.levels = lattice.getOption("drop.unused.levels"),
...,
default.scales = list(),
panel.groups = "panel.densityplot",
subscripts,
subset)
## S3 method for class 'numeric':
densityplot(x, data, xlab, \dots)
do.breaks(endpoints, nint)