Now, lets get the data into R and plot it.
-[For clarity, I'm not showing the R code, but it's available in the source cdoe for this post.]
+[For clarity, I'm not showing the R code, but it's available in the source code for this post.]
-[[!sweavealike results="hide" fig=1 echo=0 code="""
+[[!sweavealike width=800 fig=1 echo=0 nooutput=1 results="hide" code="""
+require(lattice)
reporting.rate <- read.table("data/bug_reporting_rate.txt")
colnames(reporting.rate) <- c("bug","epoch")
reporting.rate <- data.frame(reporting.rate)
panel=function(x,y,col,...){
panel.xyplot(x,y,col="cyan",...);
panel.loess(x,y,col="red",...);},
- ylim=c(0,0.005),
+ ylim=c(0,0.004),
ylab="Bugs per Second",
xlab="Time"))
"""]]