Displaying 1 result from an estimated 1 matches for "jzd0009".
Did you mean:
3d0009
2013 Jan 21
1
Very slow in processing the equation in the scatter plot ggplot
...ggplot2 and added a regression line and a
regression equation. But the processing is very very slow. One reason might
be because I have so many data pairs. Is there any way to speed up this
code ? I need to create a multiple layout as well.
The code I have used is as follows:
setwd("C:/Users/jzd0009/Documents/R software")
mydata <- read.table("dataset.csv",header=TRUE,sep=",")
library(ggplot2)
p <-
ggplot(mydata,aes(date))+geom_line(aes(y=modeled,colour="modeled"))+geom_line(aes(y=observed,colour="observed"))
p
p1 <- ggplot(mydata, aes(mo...