Hi, i have a problem with histogram in Rstudio. I have to represent with the funtion "hist" the distribution of several of rainfall observations. Most of them are next to 0 so preferred to create a vector of transformed data (log(x)). So I want to represent the transformed values (log scale) in histogram but with the untransformed linear values in x-axis.
I know that with the function "plot" for scatterplot I can obtain it by adding in the code log="x" but I now want a histogram, not other.
hist( log_rainfall, xlab = "rainfall [mm/h] in ln", ylab = "",
prob= TRUE, col = "cyan2", axes=FALSE )
Thank you for the help.