r2p: r2p Convert Correlation Coefficient to P-value

View source: R/functions.R

r2pR Documentation

r2p Convert Correlation Coefficient to P-value

Description

r2p Convert Correlation Coefficient to P-value

Usage

r2p(r, n)

Arguments

r

the correlation coefficient

n

the number of samples

Value

a numeric p-value

Examples

r2p(r=0.4,n=20) # 0.08

federicogiorgi/corto documentation built on April 24, 2023, 1:23 a.m.