Reputation: 171
I am familiar with regular log transformations:
DF1$RT <- log(DF1$RT)
How do I perform an inverse log transformation in R?
Upvotes: 17
Views: 54932
Reputation: 269664
The term inverse can be used with different meanings. The meanings are:
reciprocal. In the case of reciprocal (also known as the multiplicative inverse) the inverse of log(x)
is 1/log(x)
inverse function. In the case of an inverse function it refers to solving the equation log(y) = x
for y
in which case the inverse transformation is exp(x)
assuming the log is base e
. (In general, the solution is b^x
if the log is of base b
. For example, if log10(y) = x
then the inverse transformation is 10^x
.)
Upvotes: 41