Description Usage Arguments Value Note Author(s) See Also Examples
A standard histogram using getbw to compute the binwidth and breakpoints.
1 |
x |
A numeric vector. |
k |
The desired number of active bins. A bin is active if it contains at least |
m |
The minimum number of observations necessary for a bin to count as an active bin. Defaults to
|
fun |
Either |
col |
The color for the bars. |
ival |
If this is set to a numeric value in |
The ggplot
object.
This is purely experimental at this time.
Alexander Pilhoefer
getbw, cutbw
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ahist(rnorm(100))
ahist(rnorm(1000))
ahist(rnorm(10000))
ahist(rexp(100))
ahist(rexp(1000))
ahist(rexp(10000))
## Not run:
ahist(rcauchy(1000))
ahist(rcauchy(1000), ival = 0.95)
x <- c(rnorm(400),rnorm(200, mean=6))
ahist(x)
x <- c(rnorm(400),rnorm(200, mean=16))
ahist(x)
x <- c(rnorm(400),rnorm(200, mean=32))
ahist(x)
## End(Not run)
|
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Warning message:
`geom_bar()` no longer has a `binwidth` parameter. Please use `geom_histogram()` instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.