test_r {Keng}R Documentation

Test r using the t-test given r and n.

Description

Test r using the t-test given r and n.

Usage

test_r(r, n)

Arguments

r

Pearson correlation.

n

Sample size of r.

Details

To test the significance of the r using one-sample t-test, the SE of the r is determined by the following formula: SE = sqrt((1 - r^2)/(n - 2)).

Value

A data.frame including r, se of r, t, and p.

Examples

test_r(0.2, 193)

[Package Keng version 2024.11.17 Index]