View source: R/normalizations.R
logXform | R Documentation |
This function imputes minimum values per the recommendations of Osborne (2002) and subsequently transforms the data to a base-10 logarithmic scale.
logXform(sample)
sample |
The input data (vector) |
The log-transformed data (vector)
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
values <- rnorm(100) x <- logXform(values)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.