Plot a curve of a distribution, then using a Tk slider window adjust the parameters and see how the distribution changes. Optionally also plots reference distributions.

1 2 3 4 | ```
vis.binom()
vis.gamma()
vis.normal()
vis.t()
``` |

These functions plot a distribution, then create a Tk slider box that allows you to adjust the parameters of the distribution to see how the curve changes.

Check boxes are available in some cases to also show reference distributions (normal and poisson for the binomial, exponential and chi-squared for gamma, and normal for t). The exponential and chi-squared distributions are those with the same mean as the plotted gamma.

If you change the plotting ranges then you need to click on the 'refresh' button to update the plot.

These functions are run for their side effects and do not return anything meaningful.

Greg Snow 538280@gmail.com

`dnorm`

, `dgamma`

, etc.

1 2 3 4 5 6 | ```
if(interactive()){
vis.binom()
vis.normal()
vis.gamma()
vis.t()
}
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.