On Wed, 15 Sep 2010 15:15:27 +0200,
Uwe Ligges wrote:
> Why? It is still accessible as a list, even with S4 object, at least
> for the cases I tried.
R> wL <- with(warpbreaks, by(warpbreaks[, 1:2], tension, summary))
R> setClass("Whatever",
+ representation=representation(A="list"))
[1
On 15.09.2010 15:00, Seb wrote:
On Wed, 15 Sep 2010 11:29:23 +0200,
peter dalgaard wrote:
On Sep 15, 2010, at 10:55 , Uwe Ligges wrote:
On 14.09.2010 20:50, Seb wrote:
On Tue, 14 Sep 2010 12:02:04 +0200,
Uwe Ligges wrote:
It returns a list with athe class attribut set to "by", just
On Wed, 15 Sep 2010 11:29:23 +0200,
peter dalgaard wrote:
> On Sep 15, 2010, at 10:55 , Uwe Ligges wrote:
> >
> >
> > On 14.09.2010 20:50, Seb wrote:
> >> On Tue, 14 Sep 2010 12:02:04 +0200,
> >> Uwe Ligges wrote:
> >>
> >>> It returns a list with athe class attribut set to "by", just use: x
On Sep 15, 2010, at 10:55 , Uwe Ligges wrote:
>
>
> On 14.09.2010 20:50, Seb wrote:
>> On Tue, 14 Sep 2010 12:02:04 +0200,
>> Uwe Ligges wrote:
>>
>>> It returns a list with athe class attribut set to "by", just use: x<-
>>> by(.) unclass(x)
>>
>> Thanks Uwe, however, that still returns
On 14.09.2010 20:50, Seb wrote:
On Tue, 14 Sep 2010 12:02:04 +0200,
Uwe Ligges wrote:
It returns a list with athe class attribut set to "by", just use: x<-
by(.) unclass(x)
Thanks Uwe, however, that still returns an array when using the
data.frame method for by():
R> class(unclass(w
On Tue, 14 Sep 2010 12:02:04 +0200,
Uwe Ligges wrote:
> It returns a list with athe class attribut set to "by", just use: x <-
> by(.) unclass(x)
Thanks Uwe, however, that still returns an array when using the
data.frame method for by():
R> class(unclass(with(warpbreaks, by(warpbreaks[, 1:
It returns a list with athe class attribut set to "by", just use:
x <- by(.)
unclass(x)
Uwe Ligges
On 14.09.2010 00:11, Seb wrote:
Hi,
I noticed that by() returns an object of class 'by', regardless of what
its argument 'simplify' is. ?by says that it always returns a list if
simplify=