![]() Theme(plot.title = element_text(face="bold",size=20)) + Geom_smooth(method=lm, fill = "orange",colour="red", size = 1 )+ Geom_line(aes(y=upr), color = "red", linetype = 2, size=1)+ Geom_line(aes(y=lwr), color = "red", linetype = 2, size=1)+ Geom_point(shape=20,colour = "red", size = 3)+ O=ggplot(Odataframe, aes(x=SNTO, y=LPBEO))+ Odataframe=ame(cbind(LPBESNTR$SNTO,LPBESNTR$LPBEO,Opred))Ĭolnames(Odataframe)=c("SNTO", "LPBEO", "fit", "lwr", "upr") Opred<- predict(Olm, interval="prediction") ![]() First I did simple linear normal regression of 2 continuous variable and plotted it using ggplot. I have encountered problem in putting subscript in plot Text.
0 Comments
Leave a Reply. |