I used summary <-rbind.fill(agency,prop) & it worked like a charm. Thanks
everyone.
--
View this message in context:
http://r.789695.n4.nabble.com/Concatenating-data-frames-in-R-versus-SAS-tp4641138p4641219.html
Sent from the R help mailing list archive at Nabble.com.
_
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of ramoss
> Sent: Thursday, August 23, 2012 1:55 PM
> To: r-help@r-project.org
> Subject: [R] Concatenating data frames in R versus SAS
>
> I am trying to concatenate 2 datasets tha
On Aug 23, 2012, at 1:55 PM, ramoss wrote:
I am trying to concatenate 2 datasets that don't have exactly the same
column.
In SAS I did: data summary;
set agency prop;
run;
No problem
in R I get error message
summary <-rbind(agency,prop)
Error in match.names(clabs, names(xi)) :
names do not ma
3 matches
Mail list logo