Skip to content
Prev 175800 / 398503 Next

help with ggplot2 -- ggpoint function missing?

I'm trying to follow the ggplot introduction here:
http://had.co.nz/ggplot/ggplot-introduction.pdf

I've installed ggplot2 with install.packages("ggplot2", dep=T)
but when I try to run
print(ggpoint(p, list(colour = sex)))
I get an error:
Error in print(ggpoint(p, list(colour = sex))) : 
  could not find function "ggpoint"

What is the problem? Has the function been renamed in the ggplot -> ggplot2
transition?

Thanks!