I want to generate histograms on a log-log scale. I am using R 2.15.2. Following the post Histogram with Logarithmic Scale my minimal code example looks like:
a <- rlnorm(1000)
hist.a <- hist(a, plot = FALSE)
plot(hist.a$count, log = "xy")
In my case the resulting histogram has its highest value at about 15. However, max(a)
shows the highest value is above that.
The question is: How can I make it display all the values of a
?