Re: [R] converting stata's by syntax to R

From: Chris Wallace <c.wallace_at_qmul.ac.uk>
Date: Tue 02 Aug 2005 - 19:58:19 EST

Chris Wallace <c.wallace@qmul.ac.uk> writes:

> I am struggling with migrating some stata code to R....

Thanks to all who replied. It was very helpful to see a combination of more direct stata->R translations and more R-ish code. which.max() solves my problem this time, but learning about split(), unsplit() and duplicated() should make such problems fewer in the long run.

C.



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 Received on Tue Aug 02 20:27:54 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:01:04 EST