Description Usage Arguments Details Author(s) References Examples

Find the required (sufficient) sample size for computing a Pearson correlation coefficient with a desired confidence interval (Olivoto et al., 2018).

1 | ```
corr.ss(r, CI)
``` |

`r` |
The magnitude of the correlation coefficient. |

`CI` |
The half-width for confidence interval at p < 0.05. |

The required (sufficient) sample size is computed as follows:

*n = [CI_w/ 0.45304^r \times 2.25152]^{-0.50089}*

where *CI_w* is desired confidence interval and `r`

is the correlation coefficient.

Tiago Olivoto [email protected]

Olivoto, T., A.D.C. Lucio, V.Q. Souza, M. Nardino, M.I. Diel, B.G. Sari, D.. K. Krysczun, D. Meira, and C. Meier. 2018. Confidence interval width for Pearson's correlation coefficient: a Gaussian-independent estimator based on sample size and strength of association. Agron. J. 110:1-8. doi:10.2134/agronj2017.09.0566.

1 | ```
corr.ss(r = 0.60, CI = 0.1)
``` |

TiagoOlivoto/WAASB documentation built on April 1, 2019, 10:25 a.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.