textogram | R Documentation |
Uses a call to base::hist(...) and uses the densities to make a a text histogram in the console Particularly useful when working in the terminal without graphics.
textogram(X, range = NA, ...)
X |
numeric vector of data |
range |
optional sub-range of X to test; c(low,high) |
... |
additional arguments passed to base::hist() |
outputs an ascii histogram to the console
Nicholas Cooper njcooper@gmx.co.uk
textogram(runif(100000)) textogram(rnorm(10000),range=c(-3,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.