Displaying 1 result from an estimated 1 matches for "629247".
Did you mean:
29247
2012 Feb 01
1
ggplot2(0.9.0): could not find function "=="
...then make
the same changes to my own work.
So this is the output:
> library(ggplot2)
> library(plyr)
> library(reshape)
Attaching package: ?reshape?
The following object(s) are masked from ?package:plyr?:
rename, round_any
> trade <- read.csv("http://pastie.org/pastes/629247/download", header = TRUE, stringsAsFactors = FALSE)
> balance <- ddply(trade, .(Time), summarise, balance = sum(EXP - IMP))
> trade.m <- melt(trade, id.vars = c("BEC", "Time"))
> ggplot(trade.m, aes(Time)) + geom_bar(subset = .(variable ==
+ "EXP&quo...