Skip to content
Back to formatted view

Raw Message

Message-ID: <m31x5c8xtw.fsf@qmul.ac.uk>
Date: 2005-08-02T09:58:19Z
From: Chris Wallace
Subject: converting stata's by syntax to R
In-Reply-To: <m3ek9dag6c.fsf@qmul.ac.uk> (Chris Wallace's message of "Mon, 01 Aug 2005 15:24:27 +0100")

Chris Wallace <c.wallace at 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.