Description Usage Arguments Value Examples
The function carries out log with base 10 transformation of each values of vector. If one of values of a vector is 0, 1 is added to each observation. Log transformation is carried out for the data when variance is proportional to square of the mean and treatment effects are multiplicative in nature.
1 | logtransform(numeric.vector)
|
numeric.vector |
data vector to be transformed |
A list of
Ratio
- A ratio of maximum and minimum values of the data
LogTransformedVector
- A vector of the transformed data
Comment
- A comment about zero being present in data or not
1 2 | vector<-c(100,0,120,1000,52,30,60)
logtransform(vector)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.