z_scale: Rank normalization

Description Usage Arguments Value

View source: R/diagnostic.R

Description

Compute rank normalization for a numeric array. First replace each value by its rank. Average rank for ties are used to conserve the number of unique values of discrete quantities. Second, normalize ranks via the inverse normal transformation.

Usage

1

Arguments

x

A numeric array of values.

Value

A numeric array of rank normalized values with the same size as input.


weiyaw/flexss documentation built on June 16, 2021, 7:48 a.m.