Re: [R] pivot table in R

From: hadley wickham <>
Date: Tue, 29 Jan 2008 09:28:01 -0600

> I'm struggling with an elementary problem with R. I have a simple data
> frame such as this one giving the number of accidents subdivided by sex,
> age and region.

If you're trying to do pivot tables in R, I'd recommend looking at the reshape package, which was designed specifically to tackle these types of problems. provides some links to get started



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 29 Jan 2008 - 15:34:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Jan 2008 - 16:30:09 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive