Answers for "regression with ggplot"

R
2

r ggplot regression line

ggplot(data,aes(x.plot, y.plot)) +
  stat_summary(fun.data=mean_cl_normal) + 
  geom_smooth(method='lm', formula= y~x)
Posted by: Guest on October-09-2020

Browse Popular Code Answers by Language