elp@r-project.org
> Subject: Re: [R] Unique command not deleting all duplicate rows
>
> duplicated()
>
> > test.df
> V1 V2 V3 V4 V5 V6 V7
> 1 -115.380 32.894 195 162.940 D 8419 D
> 2 -115.432 32.864 115 208.910 D 8419 D
> 3 -115.447 32.773 11
V2, and V4 should be checked
> versus R FAQ 7.31.
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Don McKenzie
> Sent: Monday, August 24, 2009 1:35 PM
> To: Mehdi Khan
> Cc: r-help@r-project.org
&g
enzie
Sent: Monday, August 24, 2009 1:35 PM
To: Mehdi Khan
Cc: r-help@r-project.org
Subject: Re: [R] Unique command not deleting all duplicate rows
duplicated()
> test.df
V1 V2 V3 V4 V5 V6 V7
1 -115.380 32.894 195 162.940 D 8419 D
2 -115.432 32.864 115 208.910 D 8
duplicated()
> test.df
V1 V2 V3 V4 V5 V6 V7
1 -115.380 32.894 195 162.940 D 8419 D
2 -115.432 32.864 115 208.910 D 8419 D
3 -115.447 32.773 1170 264.570 D 8419 D
4 -115.447 32.773 1170 264.570 D 8419 D
5 -115.447 32.773 1170 264.570 D 8419 D
6 -115.447 32.773 1170
Hello everyone, when I run the "unique" command on my data frame, it deletes
the majority of duplicate rows, but not all of them. Here is a sample of my
data. How do I get it to delete all the rows?
6 -115.38 32.894 195 162.94 D 8419 D
7 -115.432 32.864 115 208.91 D 8419 D
8 -115.447 32.773
5 matches
Mail list logo