Learn R Programming

prettyB (version 0.2.2)

hist.prettyB: PrettyB hist.default function

Description

This function overrides the default arguments. See ?graphics::hist.default

Usage

# S3 method for prettyB
hist(
  x,
  breaks = "Sturges",
  freq = NULL,
  probability = !freq,
  include.lowest = TRUE,
  right = TRUE,
  density = NULL,
  angle = 45,
  col = NULL,
  border = NULL,
  main = paste("Histogram of", xname),
  xlim = range(breaks),
  ylim = NULL,
  xlab = xname,
  ylab,
  axes = TRUE,
  plot = TRUE,
  labels = FALSE,
  nclass = NULL,
  warn.unused = TRUE,
  ...
)

hist_p( x, breaks = "Sturges", freq = NULL, probability = !freq, include.lowest = TRUE, right = TRUE, density = NULL, angle = 45, col = NULL, border = NULL, main = paste("Histogram of", xname), xlim = range(breaks), ylim = NULL, xlab = xname, ylab, axes = TRUE, plot = TRUE, labels = FALSE, nclass = NULL, warn.unused = TRUE, ... )

Arguments

x, breaks, freq, probability

See ?graphics::hist.default

include.lowest, right, density

See ?graphics::hist.default

angle, col, border, main

See ?graphics::hist.default

xlim, ylim, xlab, ylab, axes, plot

See ?graphics::hist.default

labels, nclass, warn.unused

See ?graphics::hist.default

...

See ?graphics::hist.default

Examples

Run this code
# NOT RUN {
x = rlnorm(100)
hist(x)
# }

Run the code above in your browser using DataLab