rp.power {rpanel}R Documentation

Interactive power calculations for a two-sample t-test

Description

This function creates a panel which allows the sample size, population means and common standard deviation to bet set. The correponding power curve is displayed in the graphics window.

Usage

rp.power()

Arguments

None.

Details

The population parameters and sample size are controlled by doublebuttons. The sample size refer to the common sample size of each of the two groups. A checkbox allows plots of the population distributions also to be diplayed.

Value

the panel object.

References

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

Examples

  rp.power()

[Package rpanel version 1.0-4 Index]