R Weird Behavior In Ggplot S Stat Function Stack Overflow

R Weird Behavior In Ggplot S Stat Function Stack Overflow