Skip to content
Back to formatted view

Raw Message

Message-ID: <aP7erEA7xjA7EwGg@myatt.demon.co.uk>
Date: 2001-05-16T08:38:19Z
From: Mark Myatt
Subject: unique and precision of long integers
In-Reply-To: <200105141509.LAA00510@beethoven.fas.harvard.edu>

Michael Herron <mherron at latte.harvard.edu> writes:

>I have a dataset with about 500,000 observations, most of which are
>not unique.  The first 10 observations look like

[stuff deleted]

I can think of two methods that might work ...

        1. Scan as strings rather than numbers

        2. Scan in as separate fields and then do sum sort of checksum
        function on all variables and unique() on the checksum.

Hope that helps.

Mark

--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._