fisher_z: Perform the Fisher test for two correlations

get_fisher_zR Documentation

Perform the Fisher test for two correlations

Description

The Fisher r-to-z transformation implied to compare the correlations in two groups

Usage

get_fisher_z(dat, zyg, vars, compare = character(0))

Arguments

dat

the data.frame with the variables zyg and paste(vars, rep(1:2, each = nv))

zyg

the name of the zygosity variable (character string), must have exactly two levels

vars

the names of the variables to perform the test. If vars = c('X', 'Y', 'Z'), the function looks for c('X1', 'Y1', 'Z1', 'X2', 'Y2', 'Z2')

compare

the labels of groups to compare, must be either character(0) or length of 2


IvanVoronin/TwinAnalysis documentation built on July 24, 2024, 9:36 p.m.