14

I am familiar with regular log transformations:

DF1$RT <- log(DF1$RT)

How do I perform an inverse log transformation in R?

SecretAgentMan
  • 2,856
  • 7
  • 21
  • 41
Yash
  • 141
  • 1
  • 1
  • 3

1 Answers1

36

The term inverse can be used with different meanings. The meanings are:

  1. reciprocal. In the case of reciprocal (also known as the multiplicative inverse) the inverse of log(x) is 1/log(x)

  2. 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.)

G. Grothendieck
  • 254,981
  • 17
  • 203
  • 341