Displaying 1 result from an estimated 1 matches for "4wd".
Did you mean:
4d
2012 Mar 12
1
Faceted bar plot shows wrong counts (ggplot2)
...quot;dodge") +
opts(legend.position = "none")
base + aes(x = model) +
facet_grid(. ~ manufacturer)
That example works fine; the bar heights are just the same as the
counts in the table:
table(mpg4[,1:2])
model
manufacturer a4 a4 quattro a6 quattro grand cherokee 4wd gti jetta new
beetle
audi 7 8 3 0 0 0
0
jeep 0 0 0 8 0 0
0
volkswagen 0 0 0 0 5 9
6
model
manufacturer passat
audi...