[R] pivot table in R

hadley wickham h.wickham at gmail.com
Tue Jan 29 16:28:01 CET 2008


> 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.  http://had.co.nz/reshape provides some links to get
started

Hadley



-- 
http://had.co.nz/



More information about the R-help mailing list