Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

run.hist.demo

Create a histogram and interactively change the number of bars.


Description

Create a histogram then use a Tk slider window to change the number of bars, the minimum, and the maximum.

Usage

run.hist.demo(x)

Arguments

x

Data to plot.

Details

Draws a histogram and creates a Tk slider window that allows you to explore how changing the parameters affects the appearance of the plot.

Value

No meaninful value is returned.

Author(s)

Greg Snow 538280@gmail.com

See Also

Examples

if(interactive()){
run.hist.demo( rnorm(250, 100, 5) )
}

TeachingDemos

Demonstrations for Teaching and Learning

v2.12
Artistic-2.0
Authors
Greg Snow
Initial release
2020-04-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.