# Plot the summaryggplot(statin_summary[statin_summary$AGE1%in%c(18:57),], aes(x = AGE1, y = percent_on_statin))+geom_smooth()+labs(title ="Percentage of Individuals Ever on Statin by Age of Enrollment",x ="Age of Enrollment",y ="Percentage Ever on Statin") +theme_classic()
`geom_smooth()` using method = 'loess' and formula = 'y ~ x'