title: How to use stripchart() in R?
body: <p>I have problems to use <code>stripchart()</code> with the right placement of X- and Y-axes and with the <em>correct direction</em> of the stacked points.</p>
  
  <p>This MWE imitates the steps I do with my real data</p>
  
  <pre><code># stratify mtcars$mpg_strat
  mtcars$mpg_strat &lt;- cut(mtcars$mpg, breaks=seq(0,50,by=5))
  
  stripchart(gear~mpg_strat,
             data=mtcars,
             method="stack",
             offset=.5, pch=20)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/5MLSz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5MLSz.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>I want to have <code>gear</code> in the Y-axis and <code>mpg_strat</code> (stratified <code>mpg</code>) on the X-axis.</li>
  <li>And the points should be stacked from bottom to top (vertical) and not from left to right (horizontal).</li>
  </ul>
  
  <p>The example here doesn't produce it that way. When I try to switch <code>mpg_strat~gear</code> I get an error</p>
  
  <pre><code>Fehler in Summary.factor(c(5L, 4L, 4L, 3L, 4L, 4L, 4L, 3L, 3L, 3L, 5L,  : 
  ‘range’ not meaningful for factors
  </code></pre>