I made the change but I got this error. Not sure what to do since I tried the code with and without the , and I get the same error.
Error: unexpected ',' in "scale_y_continuous(limits=c(0,NA)) ,"
scale_x_continuous(limits=c(0,NA)) expand=c(0,0)
Error: unexpected symbol in " scale_x_continuous(limits=c(0,NA)) expand"
If I run without the comma I get:
pda<- ggplot(newd, aes(x=PRED,y=DV )) +
- geom_point() +geom_abline (intercept=0, slope=1,linetype=1,size=2) + theme(text=element_text(size=10))
scale_y_continuous(limits=c(0,NA)) expand=c(0,0) +
Error: unexpected symbol in "scale_y_continuous(limits=c(0,NA)) expand"
scale_x_continuous(limits=c(0,NA)) expand=c(0,0)
Error: unexpected symbol in " scale_x_continuous(limits=c(0,NA)) expand"
In both cases I get the same graph. It is late so I will look up the syntax tomorrow when I am more awake.
Thanks