did I really use a '=' instead of a '<-'‽
[gmail-maildir-counter] / analysis.R
index 6d3d2d2d26cc2b293a5ca6f4fda24762564441f1..d6217ce4e31aa0a179eef1bbe971303324e12aa1 100644 (file)
@@ -4,7 +4,7 @@ library(reshape)
 
 theme_set(theme_bw())
 
-d = read.delim("mail_metadata.tsv", header=FALSE,
+d <- read.delim("mail_metadata.tsv", header=FALSE,
     col.names=c("flags", "timestamp", "precedence", "google"))
 
 d$timestamp <- as.POSIXct(d$timestamp, tz="UTC",
@@ -78,7 +78,7 @@ dev.off()
 #######################################################
 
 prop.data <- rbind(cbind(google.by.week(d), subset="All Email"),
-                   cbind(google.by.week(d[d$replied]), subset="Emails with Replies"))
+                   cbind(google.by.week(d[d$replied]), subset="Email with Replies"))
 
 
 pdf(file="emails_gmail_prop_over_time.pdf", width=10, height=8)

Benjamin Mako Hill || Want to submit a patch?