Great.
Thank you for your suggestions.
In case other people are interested too, this is what I got now.
I was able to
#added labels for x-axis and y-axis
p + scale_y_continuous("number of votes")
p + scale_x_continuous("number of votes")
# specify breaks
p + scale_x_continuous(breaks=1:4)
Hi
On Sun, Jun 26, 2011 at 4:21 PM, Sigrid wrote:
> This is what I have now so far.
>
> p=ggplot(data = test, aes(x = YEAR, y = TOTAL, colour = TREATMENT)) +
> geom_point() + geom_smooth(method = "lm", se=FALSE) + facet_wrap(~COUNTRY)
>> p +scale_x_continuous(limits=c(1,4))
>
> http://r.789695.n4
This is what I have now so far.
p=ggplot(data = test, aes(x = YEAR, y = TOTAL, colour = TREATMENT)) +
geom_point() + geom_smooth(method = "lm", se=FALSE) + facet_wrap(~COUNTRY)
> p +scale_x_continuous(limits=c(1,4))
http://r.789695.n4.nabble.com/file/n3626510/graph.gif
I would also like to:
1
3 matches
Mail list logo