The R Project SVN R

Rev

Rev 88598 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88598 Rev 89497
Line 1... Line 1...
1
% File src/library/graphics/man/hist.Rd
1
% File src/library/graphics/man/hist.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2025 R Core Team
3
% Copyright 1995-2026 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{hist}
6
\name{hist}
7
\title{Histograms}
7
\title{Histograms}
8
\usage{
8
\usage{
Line 14... Line 14...
14
     density = NULL, angle = 45, col = "lightgray", border = NULL,
14
     density = NULL, angle = 45, col = "lightgray", border = NULL,
15
     main = paste("Histogram of" , xname),
15
     main = paste("Histogram of" , xname),
16
     xlim = range(breaks), ylim = NULL,
16
     xlim = range(breaks), ylim = NULL,
17
     xlab = xname, ylab,
17
     xlab = xname, ylab,
18
     axes = TRUE, plot = TRUE, labels = FALSE,
18
     axes = TRUE, plot = TRUE, labels = FALSE,
19
     nclass = NULL, warn.unused = TRUE, \dots)
19
     nclass = NULL, warn.unused = TRUE, panel.first = NULL, \dots)
20
}
20
}
21
\alias{hist}
21
\alias{hist}
22
\alias{hist.default}
22
\alias{hist.default}
23
\arguments{
23
\arguments{
24
  \item{x}{a vector of values for which the histogram is desired.}
24
  \item{x}{a vector of values for which the histogram is desired.}
Line 81... Line 81...
81
    \code{nclass} is equivalent to \code{breaks} for a scalar or
81
    \code{nclass} is equivalent to \code{breaks} for a scalar or
82
    character argument.}
82
    character argument.}
83
  \item{warn.unused}{logical.  If \code{plot = FALSE} and
83
  \item{warn.unused}{logical.  If \code{plot = FALSE} and
84
    \code{warn.unused = TRUE}, a warning will be issued when graphical
84
    \code{warn.unused = TRUE}, a warning will be issued when graphical
85
    parameters are passed to \code{hist.default()}.}
85
    parameters are passed to \code{hist.default()}.}
-
 
86
  \item{panel.first}{an \sQuote{expression} to be evaluated after the
-
 
87
    plot axes are set up but before any plotting takes place.  This can
-
 
88
    be useful for drawing background grids. Note that this works by 
-
 
89
    lazy evaluation: passing this argument from other function may 
-
 
90
    well not work since it may be evaluated too early.}    
86
  \item{\dots}{further arguments and \link{graphical parameters} passed to
91
  \item{\dots}{further arguments and \link{graphical parameters} passed to
87
    \code{\link{plot.histogram}} and thence to \code{\link{title}} and
92
    \code{\link{plot.histogram}} and thence to \code{\link{title}} and
88
    \code{\link{axis}} (if \code{plot = TRUE}).}
93
    \code{\link{axis}} (if \code{plot = TRUE}).}
89
}
94
}
90
\description{
95
\description{