How to do an inverse log transformation in R?

Viewed 39490

I would like to do an inverse log transformation on R.

I am familiar with regular log transformations:

DF1$RT <- log(DF1$RT)

but I don't know how to do an inverse one.

Can anyone please help?

1 Answers

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

  1. reciprocal. In this case the inverse of log(x) is 1/log(x)

  2. inverse function. In this case 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.)

Related