# Hist

From Rcmdr v1.4-7
by John Fox

##### Plot a Histogram

This function is a wrapper for the `hist`

function in
the `base`

package, permitting percentage scaling of the
vertical axis in addition to frequency and density scaling.

- Keywords
- hplot

##### Usage

```
Hist(x, scale=c("frequency", "percent", "density"), xlab=deparse(substitute(x)),
ylab=scale, main="", ...)
```

##### Arguments

- x
- a vector of values for which a histogram is to be plotted.
- scale
- the scaling of the vertical axis:
`"frequency"`

(the default),`"percent"`

, or`"density"`

. - xlab
- x-axis label, defaults to name of variable.
- ylab
- y-axis label, defaults to value of
`scale`

. - main
- main title for graph, defaults to empty.
- ...
- arguments to be passed to
`hist`

.

##### Value

- This function returns
`NULL`

, and is called for its side effect --- plotting a histogram.

##### See Also

##### Examples

```
library(car)
data(Prestige)
Hist(Prestige$income, scale="percent")
```

*Documentation reproduced from package Rcmdr, version 1.4-7, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.