spearmanCI: Function to compute the confidence interval for the Spearman...

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
spearmanCI(x, n, alpha = 0.05)

Arguments

x

Spearman correlation coefficient rho

n

the sample size used to compute the Spearman rho

alpha

alpha level for confidence interval

Value

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

Author(s)

Benjamin Haibe-Kains

Examples

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

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

Search within the genefu package
Search all R packages, documentation and source code