Jittered points

Sometimes, the points need to be jittered around so that they do not overlap. This is especially so if both x and y axes have categorical variables plotted:

code:
    > ggplot(bwdf, aes(race, smoke))+

                          geom_jitter(position=position_jitter(width=0.25, height=0.25))

output (graph):  

                     graph4

 


    Comments & Feedback