pcorr: Distribution function of sample correlation coefficient based...

Description Usage Arguments

Description

Uses the hypergeometric function 2F1 from the gsl package. Calculates the distribution directly as the integral of dcorr().

Usage

1
pcorr(q, n, rho, lower.tail = TRUE)

Arguments

q

Value of the correlation coefficient

n

Sample size

rho

True correlation in the population

lower.tail

logical; if TRUE (default), probabilities are P[X ≤ x] otherwise, P[X > x].


Thie1e/subsetcor documentation built on May 9, 2019, 4:41 p.m.