On 05/16/2012 01:18 PM, Santosh wrote:
Hello R/Splus users..
I am posting in R discussion group in hope of wider response compared to
what I received from Splus user groups....

Was wondering if there is any function available in Splus 8.2 that is
equivalent to "reshape" of R?

Below is a sample dataset. Size [both rows and columns) of the dataset may
vary...

Hi Santosh,
You may be able to use the code in the function rep_n_stack in the prettyR package in S-PLUS. It does what you want, and since it is written in R source code, it may run in S-PLUS. Just extract the code and "source" it into S-PLUS.

Jim

______________________________________________
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