Thanks,
Jennifer
-------------------------------------------------------
library(ggplot2)
test.data <- structure(list(X1 = c(13, 2, 119, 7, 12, 11, 347, 41, 10, 4, 8, 112, 68, 102, 98, 165, 19, 2, 22, 25, 51), X2 = c(434.022499, 570, 2556, 1284, 457, 5114, 58215.5065, 581, 438, 233, 204, 497865.973, 3171.06517, 34728, 737386, 737386, 8433.52505, 355, 1715, 1715, 3851)), .Names = c("tabr", "edge"), row.names = c(NA, -21L), class = "data.frame")
ggplot (data = test.data, aes(x = log(edge), y = log(tabr))) +
geom_point(shape=1) +
geom_smooth(method=lm, se=FALSE) +
geom_text(aes(x = 7.5, y = 5.5,
label = expression(paste("r"^2, " = 0.585; p < 0.001"))), parse = TRUE)
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.