--
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
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
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:
> >>
> >&
first of all: thank you for your replies!
hadley wrote:
>
> 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 did
Does this do what you want?
colhist <- function(x,col){
tmp <- hist(x,plot=F)
br <- tmp$breaks
w <- as.numeric(cut(x,br,include.lowest=TRUE))
sy <- unlist(lapply(tmp$counts,function(x)seq(length=x)))
sy <- sy[order(order(x))]
plot( range(br)
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
6 matches
Mail list logo