> Dario Strbenac
> on Tue, 15 Sep 2015 05:00:05 + writes:
> Good day, I am curious why the by function result has
> dimensions attached, even when it returns a list.
Sorry, but this is *NOT* the mailing list for such questions !
Please ask on
Good day,
I am curious why the by function result has dimensions attached, even when it
returns a list.
result <- by(warpbreaks[, 1], warpbreaks[, -1], summary)
str(result)
List of 6
...
- attr(*, "dim")= int [1:2] 2 3
- attr(*, "dimnames")=List of 2
..$ wool : chr [1:2] "A" "B"
..$