rp.tables {rpanel}R Documentation

Interactive statistical tables

Description

This function launches a panel which allows standard normal, t, chi-squared and F distributions to be plotted, with interactive control of parameters, tail probability and p-value calculations.

Usage

  rp.tables(panel.plot = FALSE)

Arguments

panel.plot a logical parameter which determines whether the plot is placed inside the panel (TRUE) or the standard graphics window (FALSE). If the plot is to be placed inside the panel then the tkrplot library is required.

Details

The panel contains radiobuttons to select the standard normal, t, chi-squared or F distributions. Doublebutton are available to control the degrees of freedom. An observed value can be added to the plot, with optional determination of the corresponding p-value. Alternatively, shaded areas corresponding to tail probabilities of specified value can be displayed.

Value

the name of the panel object.

References

rpanel: Simple interactive controls for R functions using the tcltk library (http://www.stats.gla.ac.uk/~adrian/research-reports/rpanel.ps)

Examples

  rp.tables()

[Package rpanel version 1.0-3 Index]