gireesh bogu
2010-Feb-17 05:59 UTC
[R] (log normal distribution ) giving my own input to X and Y axes.
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]]
Hello everybody, i would like to include an picutre in the jpeg-format to an r diagram. Is this possible? The only thing i found was this moon <- read.pnm(system.file(file.path("Images", "GPN-2000-000473halfsize.pnm"), package="RGraphics")) But this doesn't work for jpg. regards Malte Christian