logXform {Rita} | R Documentation |
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
values <- rnorm(100)
x <- logXform(values)
[Package Rita version 1.2.0 Index]