Re: [R] tabulate: switching columns and rows

From: Ricardo Rodríguez - Your XEN ICT Team <webmaster_at_xen.net>
Date: Sun 31 Dec 2006 - 18:44:04 GMT

>>> hadley wickham<h.wickham@gmail.com> 31/12/2006 19:33 >>>

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

Thanks, Hadley,  

My fault: I've not provided the line concerning replicate variable. It is included in ?xtabs:

warpbreaks$replicate <- rep(1:9, len = 54)

It will be great to have an example with these given data. Anyway, I will have a look to reshape at the given site. Thanks a lot!

Cheers,

Ricardo

--
Ricardo Rodríguez
Your XEN ICT Team

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Mon Jan 01 05:47:33 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 31 Dec 2006 - 19:31:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.