Displaying 1 result from an estimated 1 matches for "stockspam".
Did you mean:
lockspam
2007 Oct 14
1
ggplot2: ordering categorial data
...e same Y axis, both as line plots
share is on a second Y axis, again as line plots
the three lines should appear in different colours
I first tried to do a bar plot with the following command:
qplot(tld, spam, data=data_rb, geom="bar", position="dodge") +
geom_bar(aes(y=data_rb$stockspam), position="dodge")
But this seems to stack spam1 and spam2 values.
When I try to do a lineplot, I get the following error message:
> qplot(tld, spam, data=data_rb, geom="line")
Error in unit(x0, default.units) : 'x' and 'units' must have length > 0
Can...