X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=blobdiff_plain;f=posts%2Fbug_reporting_rate.mdwn;h=f63a8e82a64acbec05a1a313624ac0ad8b23e2a6;hp=4266c45253aaceb363439dbc32b185508af6fcf2;hb=ba15cea30948d085a3bc2cca6d27e375cc4dbf5b;hpb=6555e2cc760ab616da985496b95f5fc310418e81 diff --git a/posts/bug_reporting_rate.mdwn b/posts/bug_reporting_rate.mdwn index 4266c45..f63a8e8 100644 --- a/posts/bug_reporting_rate.mdwn +++ b/posts/bug_reporting_rate.mdwn @@ -13,14 +13,14 @@ plot this, lets only look at bugs ending in 00: 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) -reporting.rate$bug <- as.numeric(gsub("\\.report","",gsub(".*\\/","",reporting.rate$bug))) +reporting.rate$bug <- as.numeric(gsub("\\\\.report","",gsub(".*\\\\/","",reporting.rate$bug))) reporting.rate <- reporting.rate[order(as.numeric(reporting.rate$bug)),] ### this is the number of bugs submitted per second ### however, for bug numbers less than about 100000, this number is wrong. @@ -32,7 +32,7 @@ print(xyplot(rate~day,reporting.rate[reporting.rate$epoch >= 1041408000,], 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")) """]]