5.7 Position Adjustments


# another example of fill
# fill a different variable than x
# This creates a stacked bar chart
ggplot(data = diamonds) + geom_bar(mapping = aes(x = cut, fill = clarity))
position: identity


potition: fill

position: dodge

Jitter scatter plot

