search for: continuous_scale

Displaying 2 results from an estimated 2 matches for "continuous_scale".

2012 Mar 05
2
ggplot2
...s taken from pg 101 in the ggplot book. > plot <- qplot(date, psavert, data = economics, geom = "line") + > ylab("Personal savings rate") + geom_hline(xintercept = 0, colour = > "grey50")' > plot + scale_x_date(major = "10 years") Error in continuous_scale(aesthetics, "date", identity, breaks = breaks, : unused argument(s) (major = "10 years")> plot + scale_x_date(limits = as.Date(c("2004-01-01", "2005-01-01")),format = "%Y-%m-%d") > plot + scale_x_date(limits = as.Date(c("2004-01-01&quo...
2012 Feb 01
1
ggplot2(0.9.0): could not find function "=="
..._bar(subset = .(variable == "IMP"), + aes(y = -value, fill = BEC), stat = "identity") + + xlab("") + scale_y_continuous("Export - Import", + formatter = "comma") Error in continuous_scale(c("y", "ymin", "ymax", "yend", "yintercept", : unused argument(s) (formatter = "comma") > ggplot(trade.m, aes(Time)) + geom_bar(subset = .(variable == + "EXP"), aes(y = value, fill = BEC), stat = "identity") +...