Re: [R] Grouped Histogram (colored)

2008-10-17 Thread Greg Snow
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of x0rr0x > Sent: Friday, October 17, 2008 1

Re: [R] Grouped Histogram (colored)

2008-10-17 Thread x0rr0x
rg] On Behalf Of x0rr0x >> Sent: Friday, October 17, 2008 3:02 AM >> To: r-help@r-project.org >> Subject: Re: [R] Grouped Histogram (colored) >> >> >> first of all: thank you for your replies! >> >> >> hadley wrote: >> > >> > O

Re: [R] Grouped Histogram (colored)

2008-10-17 Thread Greg Snow
8 3:02 AM > To: r-help@r-project.org > Subject: Re: [R] Grouped Histogram (colored) > > > first of all: thank you for your replies! > > > hadley wrote: > > > > On Thu, Oct 16, 2008 at 11:42 AM, x0rr0x <[EMAIL PROTECTED]> > wrote: > >> > >&

Re: [R] Grouped Histogram (colored)

2008-10-17 Thread x0rr0x
; > x <- rnorm(75, rep( c(90,100,110), each=25), 5 ) > g <- rep( c('red','green','blue'), each=25 ) > > colhist(x,g) > > note: this colhist function is a modified version of the one from the help > file for the tkBrush function in the TeachingDe

Re: [R] Grouped Histogram (colored)

2008-10-16 Thread Greg Snow
ow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of x0rr0x > Sent: Thursday, October 16, 2008 10:42 AM > To: r-help@r-project.org > Subject: [R

Re: [R] Grouped Histogram (colored)

2008-10-16 Thread hadley wickham
On Thu, Oct 16, 2008 at 11:42 AM, x0rr0x <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm trying to create a histogram which shows the frequency of variables > within a certain timeframe. > > I've been using SPSS before, but I didn't quite like it... > > To describe my problem further here are some e

[R] Grouped Histogram (colored)

2008-10-16 Thread x0rr0x
Hi all, I'm trying to create a histogram which shows the frequency of variables within a certain timeframe. I've been using SPSS before, but I didn't quite like it... To describe my problem further here are some example variables: the "event" is actually a string which I recoded using: [code]