p2r: p2r Convert a P-value to the corresponding Correlation...

View source: R/functions.R

p2rR Documentation

p2r Convert a P-value to the corresponding Correlation Coefficient

Description

p2r Convert a P-value to the corresponding Correlation Coefficient

Usage

p2r(p, n)

Arguments

p

the p-value

n

the number of samples

Value

a correlation coefficient

Examples

p2r(p=0.08,n=20)

corto documentation built on March 31, 2023, 9:25 p.m.