> 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/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to