logretransform {doebioresearch} | R Documentation |
Re-transform the log transformed data. When log transformation is done, the mean of the treatments needs to be re-transformed for comparison.
logretransform(transformed.mean, if.zero.present)
transformed.mean |
vector of mean which needs to be re-transformed |
if.zero.present |
0 if zero was present in the data prior to transformation of data. 1 if zero was absent in the data prior to transformation |
Log re-transformed values
vector<-c(0,2.004,1.114,1.491,1.431,1.415,1.845)
#Re-transformation of data with zero present in data prior to transformation
logretransform(vector,0)