Learn R Programming

cape (version 3.1.2)

rz_transform: Rank Z normalize

Description

Rank Z normalize data in a vector. We rank the data in x, divide by n-1, and return the quantiles of the normal distribution using qnorm. This transformation is also called an inverse normal transformation.

Usage

rz_transform(x, jitter = FALSE)

Value

Returns a numeric vector with a normal distribution

Arguments

x

data

jitter

boolean, default is FALSE.