rz_transform {cape}R Documentation

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)

Arguments

x

data

jitter

boolean, default is FALSE.

Value

Returns a numeric vector with a normal distribution


[Package cape version 3.1.2 Index]