[R] Histograms with strings, grouped by repeat count (w/ data)

2007-06-18 Thread Matthew Trunnell
Hello R gurus, I just spent my first weekend wrestling with R, but so far have come up empty handed. I have a dataset that represents file downloads; it has 4 dimensions: date, filename, email, and country. (sample data below) My first goal is to get an idea of the frequency of repeated

Re: [R] Histograms with strings, grouped by repeat count (w/ data)

2007-06-18 Thread Matthew Trunnell
in seq(nrow(counts))){ .index - which(counts[i,] 0) barplot(counts[i, .index], las=2, names.arg=colnames(counts)[.index], main=rownames(counts)[i]) } On 6/18/07, Matthew Trunnell [EMAIL PROTECTED] wrote: Hello R gurus, I just spent my first weekend wrestling with R

Re: [R] Histograms with strings, grouped by repeat count (w/ data)

2007-06-18 Thread Matthew Trunnell
3 6 . On 6/18/07, Matthew Trunnell [EMAIL PROTECTED] wrote: Jim, Thanks for the quick reply! When I run your code, I end up with a single barplot of one datapoint, file9 vs email20 == 2.0. I see the call to barplot is inside a for loop... maybe it's zooming through