title: R- Group jitter in factored boxplot?
body: <p>Is it possible to group the jitter in a boxplot like mine so that the data points line up with the factor for each market? Right now it's lining up by market name. I colored them to show which ones should be grouped.</p>
  
  <p><img src="https://i.stack.imgur.com/kLHGl.png" alt="enter image description here"></p>
  
  <p>My code</p>
  
  <pre><code>p&lt;-ggplot(droplevels(subset(sData,STORE_TYPE=='Test')),aes(factor(MARKET_NAME),DST_UNITS))
  p + 
    geom_boxplot(aes(fill=factor(PROGRAM_STATUS,c("PRE-PROGRAM","POST-PROGRAM")), outlier.shape=NA) + 
    geom_jitter(aes(color=factor(PROGRAM_STATUS,c("PRE-PROGRAM","POST-PROGRAM"))),position=position_jitter(width=0))
  </code></pre>