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


TheJacksonLaboratory/CAPE documentation built on Feb. 12, 2024, 4:32 p.m.