hist_print | R Documentation |
Nice printing of histogram bins along with counts
hist_print(x, breaks = "Sturges")
x |
vector of values |
breaks |
optional arguement to pass to hist() |
data.frame with two columns, ranges and counts.
x <- rnorm(100)
hist_print(x)
hist_print(x, breaks = c(-Inf, -4, -2, 0, 2, 4, Inf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.