[R] merging two data sets with no column header
kayj
kjaja27 at yahoo.com
Wed Jun 4 20:08:56 CEST 2008
Thanks a lot for your help, I appreciate it.
David Winsemius wrote:
>
> Thanks for your reply.
>
> In your last step If I create a duplicate ( two similar records )
> # create a duplicate
> vv[8,1] <- 7
> vv[8,2]<-'g'
>
> and then I merge vv with vv2 ,both duplicates are merged. Is there a way
> to tell R to merge only the unique records.
>
> ------
>
> I don't think merge will do what you are asking. Suspect you would need to
> do it either before the merge or after. I tried using the Extract operator
> on a merged dataset, but only succeeded in omitting the duplicated items,
> not both instances.
>
> --
> David Winsemius
>
>
>
>
--
View this message in context: http://www.nabble.com/merging-two-data-sets-with-no-column-header-tp17613296p17652963.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list