I cannot get ggplot2/ggpattern bar plot change x and y axes using coord_flip command.
The aes for the ggplot command has variables for x, y, and fill.
The aes for geom_bar_pattern has a variable for pattern.
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:
Error in seq.default(from, to, by) : invalid '(to - from)/by'
Any advice would be greatly appreciated. Thanks.