Skip to content
Prev 106792 / 398526 Next

tabulate: switching columns and rows

Hi Ricardo,
You might want to have a look at the reshape package,
http://had.co.nz/reshape, which provides a more general and flexible
framework for reshaping data in R.

The version of warpbreaks I have doesn't have the replicate variable,
so unfortunately I can't provide you with example code for this case.
However, you should be able to figure it out for your data using the
documentation available on the website.

Regards,

Hadley