library("ggplot2")
x = seq(-2*pi, 2*pi, by = 0.05)
x1 = x + rnorm(length(x))/10
qplot(x, sin(x1), color=rgb(abs(sin(x)),0,1), geom = c("point", "smooth"))
Requires that you
install.packages()
ggplot2, of course.I'm currently working through Getting started with qplot (pdf).
No comments:
Post a comment