Learn R Programming

Rita (version 1.2.0)

logXform: Logarithmic Transformation

Description

This function imputes minimum values per the recommendations of Osborne (2002) and subsequently transforms the data to a base-10 logarithmic scale.

Usage

logXform(sample)

Arguments

sample

The input data (vector)

Value

The log-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

Run this code
# NOT RUN {
values <- rnorm(100)
x <- logXform(values)
# }

Run the code above in your browser using DataLab