Learn R Programming

shipunov (version 1.0)

Histp: Histogram with percents

Description

Histogram with percents on the top of bars

Usage

Histp(x, breaks, ...)

Arguments

x

numeric vector

breaks

number of breaks

...

other arguments to 'hist()'

Details

Histp plots histogram with percents on the top of bars, it is useful to know exactly the proportion of observations in each bin

See Also

hist

Examples

Run this code
# NOT RUN {
Histp(iris[, 1])
# }

Run the code above in your browser using DataLab