Learn R Programming

corto (version 1.2.4)

r2p: r2p Convert Correlation Coefficient to P-value

Description

r2p Convert Correlation Coefficient to P-value

Usage

r2p(r, n)

Value

a numeric p-value

Arguments

r

the correlation coefficient

n

the number of samples

Examples

Run this code
r2p(r=0.4,n=20) # 0.08

Run the code above in your browser using DataLab