R Ggplot2 Stat Summary Error When Plotting The Minimum Threshold

R Ggplot2 Stat Summary Error When Plotting The Minimum Threshold