Can I get the similar kind of graph (log normal distribution )below by
giving my own input to X and Y axes.
Thanx in advance
X-axis: (Just numbers)
1000
2000
3000
4000
5000
Yaxis: (-log10 (Pvalue))
7.5925
8.5925
12.5925
6.5925
6.5925
# 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 distribution using log scale on both axes, and use
# blue points
*plot(h$counts, log="xy", pch=20, col="blue",
main="Log-normal distribution",
xlab="Value", ylab="Frequency")*
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.