Skip to content
Back to formatted view

Raw Message

Message-ID: <518940A1.9060004@lanl.gov>
Date: 2013-05-07T17:57:53Z
From: Chris Stubben
Subject: create unique ID for each group
In-Reply-To: <CAAvu=bm+j3zAnDp0mOceJn4OVWxwsCnbzBucwop2aP6Jkve52A@mail.gmail.com>

> I want to merge dat1 and dat2 based on "ID" in order

Have you tried merge(dat1, dat2) ?

If ID is the common column (and no others), then that should be all you 
need to join (see ?merge).  And then order if needed.

Chris



-- 

Chris Stubben

Los Alamos National Lab
Bioscience Division
MS M888
Los Alamos, NM 87545