2 Matching Annotations
  1. Apr 2020
  2. Mar 2020
    1. Note

      Is anyone getting the above plot? even when I copy paste the code the boxplots are horizontal instead of vertical. tidyverse has the same plot as I do https://ggplot2.tidyverse.org/reference/geom_boxplot.html

      If I understand the aes correctly, group should make carat the "categorical" variable and plot vertically as seen here.

      If I replace y = price with y = depth it plots vertically as expected.

      Can anyone help me understand what's happening?