Description Usage Arguments Value Author(s) References Examples

This function enables to compute the sample size requirements for estimating pearson, kendall and spearman correlations

1 |

`rho` |
Correaltion coefficients rho (Pearson, Kendall or Spearman) |

`w` |
a numerical vector of weights of the same length as |

`alpha` |
alpha level |

`method` |
a character string specifying the method to compute the correlation coefficient, must be one of "pearson" (default), "kendall" or "spearman". You can specify just the initial letter. |

sample size requirement

Benjamin Haibe-Kains

Bonett, D. G., and Wright, T. A. (2000). Sample size requirements for estimating pearson, kendall and spearman correlations. Psychometrika, 65(1), 23-28. doi:10.1007/BF02294183

1 | ```
power.cor(rho=0.5, w=0.1, alpha=0.05, method="spearman")
``` |

genefu documentation built on May 31, 2017, 2:56 p.m.

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.