search for: cxc1

Displaying 1 result from an estimated 1 matches for "cxc1".

Did you mean: cc1
2009 Nov 14
2
formatting dates in axis labels (ggplot2)
...quot;Disease" ... $ Deaths: num 1.4 6.2 4.7 150 328.5 ... $ Regime: Ord.factor w/ 2 levels "Before"<"After": 1 1 1 1 1 1 1 1 1 1 ... > Here are a few things I've tried, some of which give errors and others of which simply give the wrong graph library(ggplot2) cxc1 <- ggplot(Night1, aes(x = factor(Date), y=Deaths, fill = Cause)) + # do it as a stacked bar chart first geom_bar(width = 1, position="identity", color="black") + # set scale so area ~ Deaths scale_y_sqrt() # A coxcomb plot = bar chart + polar coordinates cxc1 + coord_polar(st...