confidence_r: Construct a confidence interval for correlations using...

View source: R/intervals.R

confidence_rR Documentation

Construct a confidence interval for correlations using Fisher's z transformation

Description

Construct a confidence interval for correlations using Fisher's z transformation

Usage

confidence_r(r, n, conf_level = 0.95)

Arguments

r

A vector of correlations

n

A vector of sample sizes

conf_level

Confidence level that defines the width of the confidence interval (default = .95).

Value

A confidence interval of the specified width (or matrix of confidence intervals)

Examples

confidence_r(r = .3, n = 200, conf_level = .95)

psychmeta documentation built on June 22, 2024, 6:52 p.m.