Answers for "ggplot line regression"

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
0

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 November-21-2021

Browse Popular Code Answers by Language