Untested code below
- Original message -
From: ramoss
To: r-help@r-project.org
Subject: [R] Merging data in R compared to SAS
Date: Wed, 22 Aug 2012 07:59:04 -0700 (PDT)
Hello,
I am a SAS user new to R. What is the R equivalent to following SAS
statements:
1) data all;
merge
Hello,
I am a SAS user new to R. What is the R equivalent to following SAS
statements:
1) data all;
merge test1(in=a)
test2(in=b)
;
by account_id;
if a;
run;
2) proc sort data=all nodupkey;
by account_id;
run;
3) data all test1onnly test2only;
merge test1(in=a)
2 matches
Mail list logo