Description Usage Arguments Details Value Author(s) Examples

An applet which lets the user manipulate the number of bins and the center break of a histogram corresponding to data given or a random normal distribution.

1 |

`data` |
Numerical data to be plotted as a histogram. Only one variable of numerical data is allowed. If null, mHist creates random data from the normal distribution. |

The user may change the number of bins using the Number of Histogram bins slider, and they may change the center point around which the bins are centered with the center break slider. If data is null, the user may change the random seed with the seed slider. Otherwise the seed slider is not displayed.

Known bugs: Due to the way breaks in the histogram are calculated, for very small numbers of bins (around less than 4) an error appears on the plot, as the breaks don't cover all the data. This may also occur for random seeds occasionally.

A function that allows the user to explore histograms and their comparative advantages and disadvantages for displaying scalar data.

Andrew Rich (andrew.joseph.rich@gmail.com) and Daniel Kaplan (kaplan@macalester.edu)

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.