I find when I log and then exponent certain units change from km to m so then my values are a factor 1000 off (second example below). Conversions with values in 'm' work fine (first example below). My guess this has to do with the factor 1000 in the units of the log transformed number not being converted back correctly. I guess either outcome of the result being 100000 [m] or 100 [km] could work but now the result is wrong. A current work around is to change the units to meters before hand.
I find when I log and then exponent certain units change from
km
tom
so then my values are a factor 1000 off (second example below). Conversions with values in 'm' work fine (first example below). My guess this has to do with the factor 1000 in the units of the log transformed number not being converted back correctly. I guess either outcome of the result being100000 [m]
or100 [km]
could work but now the result is wrong. A current work around is to change the units to meters before hand.Created on 2021-11-10 by the reprex package (v2.0.1)