+ geom_histogram()+ scale_x_log10() + scale_y_log10()
=
--- On Mon, 7/20/09, Lorenzo Isella wrote:
From: Lorenzo Isella
Subject: [R] Histograms on a log scale
To: r-help@r-project.org
Received: Monday, July 20, 2009, 5:1
)+ scale_x_log10() + scale_y_log10()
=
--- On Mon, 7/20/09, Lorenzo Isella wrote:
> From: Lorenzo Isella
> Subject: [R] Histograms on a log scale
> To: r-help@r-project.org
> Received: Monday, July 20, 2009, 5:17 A
> I would like to be able to plot histograms/densities on a semi-log or
> log-log scale.
> # Get a random log-normal distribution
> r <- rlnorm(1000)
>
> # Get the distribution without plotting it using tighter breaks
> h <- hist(r, plot=F, breaks=c(seq(0,max(r)+1, .1)))
>
> # Plot the distribu
Dear All,
I would like to be able to plot histograms/densities on a semi-log or
log-log scale.
I found several suggestions online
http://tolstoy.newcastle.edu.au/R/help/05/09/12044.html
https://stat.ethz.ch/pipermail/r-help/2002-June/022295.html
http://www.harding.edu/fmccown/R/#histograms
Now
4 matches
Mail list logo