This function enables to compute the confidence interval for the Spearman correelation coefficient using the Fischer Z transformation

1 | ```
spearmanCI(x, n, alpha = 0.05)
``` |

`x` |
Spearman correlation coefficient rho |

`n` |
the sample size used to compute the Spearman rho |

`alpha` |
alpha level for confidence interval |

a vector containing the lower, upper values for the confidence interval and p-value for Spearman rho

Benjamin Haibe-Kains

1 | ```
spearmanCI(x=0.2, n=100, alpha=0.05)
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

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.