Users of package 'unknownR' already know simplify2array was added in R
2.13.0.
They also know what else was added. Do you?
http://unknownr.r-forge.r-project.org/
"Joshua Wiley" wrote in message
news:canz9z_j+trwoim3scayuaruors+8hyc30pmt_thiex6qmto...@mail.gmail.com...
> On Sat, Jul 9, 2011
On Sat, Jul 9, 2011 at 7:32 AM, David Winsemius wrote:
>
> On Jul 9, 2011, at 9:44 AM, Berry Boessenkool wrote:
>>
>>
>> Maybe I'm missing something, but in what package do I find that function?
>>
>>> simplify2array(b)
>>
>> Fehler: konnte Funktion "simplify2array" nicht finden
>> # Function wasn
--
From: ivo.we...@gmail.com
Date: Fri, 8 Jul 2011 16:22:18 -0700
To: wdun...@tibco.com
CC: r-h...@stat.math.ethz.ch
Subject: Re: [R] manipulating "by" lists and "ave()" functions
It does!! why is this function not mentioned in the "See also"
; > I think you want.
> >
> > Bill Dunlap
> > Spotfire, TIBCO Software
> > wdunlap tibco.com
> >
> > > -Original Message-----
> > > From: r-help-boun...@r-project.org
> > > [mailto:r-help-boun...@r-project.org] On Behalf Of ivo welch
>
r-help-boun...@r-project.org
> > [mailto:r-help-boun...@r-project.org] On Behalf Of ivo welch
> > Sent: Friday, July 08, 2011 3:43 PM
> > To: r-help
> > Subject: [R] manipulating "by" lists and "ave()" functions
> >
> > dear R wizards---more igno
8, 2011 3:43 PM
> To: r-help
> Subject: [R] manipulating "by" lists and "ave()" functions
>
> dear R wizards---more ignorance on my part, exacerbated by too few
> examples in the function documentations.
>
> > d <- data.frame( id=rep(1:3,3), x=rn
Hi Ivo,
See inline.
On Fri, Jul 8, 2011 at 3:42 PM, ivo welch wrote:
> dear R wizards---more ignorance on my part, exacerbated by too few
> examples in the function documentations.
>
>> d <- data.frame( id=rep(1:3,3), x=rnorm(9), y=rnorm(9))
>
> Question 1: how do I work with the output of "by"?
dear R wizards---more ignorance on my part, exacerbated by too few
examples in the function documentations.
> d <- data.frame( id=rep(1:3,3), x=rnorm(9), y=rnorm(9))
Question 1: how do I work with the output of "by"? for example,
> b <- by( d, d$id, function(x) coef(lm( y ~ x, data=x ) ))
> b
8 matches
Mail list logo