# FisherR2Z function

## Description

Fisher **r** to **z** transformation. FISHERR2Z(r) calculates the Fisher z-transformed value of r. The argument r must be greater than -1 and less than 1.

**z** is calculated as follows:

$$z = {1 \over 2} \ln \left({1+r \over 1-r}\right) $$

The argument r can be a real number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the FISHERR2Z function applied to all elements.

## Examples

FISHERR2Z(0.8) returns 1.09861229

FISHERR2Z({0.8,0.6}) returns the matrix {1.098612288668,0.69314718056}