title: Cannot get ggplot2/ggpattern graph change x and y axes using coord_flip command
body: <p>I cannot get ggplot2/ggpattern bar plot change x and y axes using coord_flip command.</p>
  <p>The aes for the ggplot command has variables for x, y, and fill.</p>
  <p>The aes for geom_bar_pattern has a variable for pattern.</p>
  <p>When I add the coord_flip command does run. When I try to display the object RStudio doesn't display the object, and gives me the following error text in the console:</p>
  <pre><code>Error in seq.default(from, to, by) : invalid '(to - from)/by'
  </code></pre>
  <p>Any advice would be greatly appreciated. Thanks.</p>