Displaying 1 result from an estimated 1 matches for "2065141".
2011 Oct 18
3
Ordering of stack in ggplot (package ggplot2)
...m
the bottom up. I'd like the stacks to be in the order "Europe", "Asia",
"Americas, "Africa", "Oceania". Is there an easy way to manipulate ggplot or
geom_bar to do this?
/library(ggplot2)
df <- structure(c(106487, 495681, 1597442,
2452577, 2065141, 2271925, 4735484, 3555352,
8056040, 4321887, 2463194, 347566, 621147,
1325727, 1123492, 800368, 761550, 1359737,
1073726, 36, 53, 141, 41538, 64759, 124160,
69942, 74862, 323543, 247236, 112059, 16595,
37028, 153249, 427642, 1588178, 2738157,
2795672, 2265696, 11951, 33424,...