rz_transform: Rank Z normalize

rz_transformR 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


cape documentation built on May 29, 2024, 5:11 a.m.