squareXform: Square-root Transformation

View source: R/normalizations.R

squareXformR Documentation

Square-root Transformation

Description

This function left anchors the minimum value to 0 per the recommendations of Osborne (2002) and subsequently transforms the data by taking the square-root of each value.

Usage

squareXform(sample)

Arguments

sample

The input data (vector)

Value

The square-transformed data (vector)

References

Osborne, J. W. (2002). Notes on the use of data transformations. Practical Assessment, Research and Evaluation, 9(1), 42-50.

Osborne, J. W. (2002). The Effects of Minimum Values on Data Transformations. Retrieved from https://files.eric.ed.gov/fulltext/ED463313.pdf

Examples

values <- rnorm(100)
x <- squareXform(values)

Rita documentation built on March 18, 2022, 6:36 p.m.

Related to squareXform in Rita...