[R] merging two dataframes

Petr PIKAL petr.pikal at precheza.cz
Wed Oct 26 16:37:02 CEST 2011


> 
> Re: [R] merging two dataframes
> 
> I pasted wrong function, I have changed from "date1" to "date" (ignore 
that).
> I think it have to be something wrong with my data format. I can`t
> understand why it don't work. I know I can use by.x=.... and by.y=...., 
but
> since both datasets have the same variable name it should be unnecessary 
to
> do that. 

Again

check dimensions of your the three data frames. Number of rows in final 
data frame shall be at least same as the number of rows in bigger data 
frame and lower than sum of rows of both merged data frames.

Regards
Petr


> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/merging-two-
> dataframes-tp3932869p3940396.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list