Displaying 1 result from an estimated 1 matches for "xcontinu".
Did you mean:
continu
2011 Sep 15
1
changing "label" in ggplot
...scale_colour_manual function (based on
http://had.co.nz/ggplot2/scale_manual.html), it seems impossible to get what
I want. Instead I receive a nice error message.
But the code will speak for itself if my request doesn't seem clear enough
to you guys.
Code:
> g<- ggplot(data=d, aes(x=Xcontinuous,y=Ycontinuous)
+geom_point(aes(colour=d$Groups, shape=d$Groups))
+facet_grid(.~Subgroup)
>g1<-g+ geom_smooth(aes(color=d$Groups), method= "lm", se=FALSE) +
scale_colour_manual(name="Blabla")
When I call g1 then it says: (translating in English... so there may be
diff...