| To: | john walter <jfwalter@vims.edu> |
|---|---|
| Subject: | Re: identify duplicate points |
| From: | Sundar Dorai-Raj <sundar.dorai-raj@PDF.COM> |
| Date: | Fri, 11 Jun 2004 10:38:24 -0500 |
| Cc: | s-news@lists.biostat.wustl.edu |
| In-reply-to: | <5.1.0.14.2.20040610153408.02cf1ab8@pop.vims.edu> |
| Organization: | PDF Solutions, Inc. |
| References: | <5.1.0.14.2.20040610153408.02cf1ab8@pop.vims.edu> |
| Reply-to: | sundar.dorai-raj@PDF.COM |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
john walter wrote: I need to identify duplicate XY pairs of points from an XYZ data set. Does anyone know of an SPLUS function to do this. I have an R function (dup.coords) in the GeoR package but it does not work with SPLUS.Thank you. John John Walter Virginia Institute of Marine Science P.O. Box 1346 Gloucester Point, VA 23062 (804) 684-7316 jfwalter@vims.edu You can use ?duplicated. XYZ <- data.frame(X = c(1,1,1,2), Y = c(2,2,1,2), Z = c(1,2,3,4)) dup <- duplicated(XYZ[, 1:2]) > dup [1] F T F F |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | identify duplicate points, john walter |
|---|---|
| Next by Date: | Re: identify duplicate points, Dimitris Rizopoulos |
| Previous by Thread: | identify duplicate points, john walter |
| Next by Thread: | Re: identify duplicate points, Dimitris Rizopoulos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |