Description Usage Arguments Value Author(s) References Examples

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

[email protected]

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.