Friday, November 13, 2015

R : position in qplot

qplot(color,data=diamonds, fill=cut, position ="dodge")


"dodge" : Overlapping geoms are placed beside each other

"statck" : Overlapping geoms are placed one above the other

"identity" : No adjustment. Geoms are allowed to overlap

"fill" : The available space is divided proportionately between the overlapping geoms.

"jitter" : Random noise is added to the position of each geom

No comments:

Post a Comment