simardcasanova’s avatarsimardcasanova’s Twitter Archive—№ 30,053

    1. …in reply to @economalex
      @economalex A debugging idea: Create a df before running ggplot. You use factor() there and then you check if the variable is actually converted as a factor.
  1. …in reply to @simardcasanova
    @economalex I think I already bumped into this issue once and if I recall correctly, the issue was related to turning the variable into a proper factor
    1. …in reply to @simardcasanova
      @economalex It’s not a solution per see but it can help narrow the scope of what’s going on
      1. …in reply to @simardcasanova
        @economalex Another option: have you tried using factor(State) with color instead of shape?