search for: diamonds25

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

Did you mean: diamonds
2012 Mar 12
1
Faceted bar plot shows wrong counts (ggplot2)
...0 8 0 0 0 volkswagen 0 0 0 0 5 9 6 model manufacturer passat audi 0 jeep 0 But in other cases this does not occur. For instance, take a small subset of data(diamonds): diamonds25 <- droplevels(diamonds[1:25,2:3]) table(diamonds25) color cut E F H I J Fair 1 0 0 0 0 Good 1 0 0 1 4 Very Good 1 0 3 1 4 Premium 3 1 0 1 0 Ideal 1 0 0 1 2 And change the variables mapped in the previous plot: base <- ggplot(diamonds25, aes(fi...