Skip to contents

Transform a continuous variable into a zscore using ranks. This is useful for semi-parametric screening in linear models. It is not suitable for data with many ties

Usage

zscore(x);

Arguments

x

A vector

Value

A vector of normally distributed values.

Author

Daryl Waggott

Examples

x <- rchisq(100, df = 1);
x.norm <- zscore(x);