This is an internal function. `power.t`

computes statistical power for the t test for means.

1 | ```
power.t(n1, n2, delta, sig.level = 0.05)
``` |

`n1` |
a numeric contains the sample size in group 1 |

`n2` |
a numeric contains the sample size in group 2 |

`delta` |
Cohen's |

`sig.level` |
a numeric contains the significance level (default 0.05) |

Return a numeric containing the statistical power.

Yasuyuki Okumura

Department of Social Psychiatry,

National Institute of Mental Health,

National Center of Neurology and Psychiatry

yokumura@blue.zero.jp

Cohen J (1988). Statistical power analysis for the behavioral sciences (2nd ed). Hillsdale, NJ: Erlbaum.

1 2 | ```
##Cohen (1988) ex.2.1
power.t(sig.level=.05, delta=0.5, n1=30, n2=30)
``` |

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.