I've used ggplot2 in the past, but I'm stumped on this one. I'd like to create a scatter plot and use the values in a column as point symbols rather than the standard ggplot symbols. Has anyone done this before?
Thanks.
I've used ggplot2 in the past, but I'm stumped on this one. I'd like to create a scatter plot and use the values in a column as point symbols rather than the standard ggplot symbols. Has anyone done this before?
Thanks.
Like this?
a <- data.frame(X = runif(n = 10),
Y = runif(n = 10),
VAL = 1:10)
library(ggplot2)
ggplot(a, aes(x = X, y = Y))+geom_text(aes(label = VAL))