logtransform: Log transformation of the numeric vector
Description
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.
Usage
logtransform(numeric.vector)
Arguments
numeric.vector
data vector to be transformed
Value
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