search for: correlfunc

Displaying 1 result from an estimated 1 matches for "correlfunc".

2006 Oct 24
1
[ggplot] trouble with ggabline and log-log-plots
Hello, I'm trying to generate a log-log plot with ggplot. Within this plot, I would like to draw a straight line with the help of ggabline which does not work. The code is pl1 <- qplot(correlFunc, correlFunc.ref, data=all, log=c("xy")) pl1 <- ggabline(pl1, slope=1, intercept=0) print(pl1) ## no line in plot :( I can produce plots as I want, if I transform all values before plotting, like this: pl2 <- qplot(log10(correlFunc), log10(correlFunc.ref), data=all) pl2 <- ggabl...