Skip to content
Back to formatted view

Raw Message

Message-ID: <OFA1CDBC75.FE894171-ONC1257935.004FFB75-C1257935.005054DD@precheza.cz>
Date: 2011-10-26T14:37:02Z
From: PIKAL Petr
Subject: merging two dataframes
In-Reply-To: <1319631367722-3940396.post@n4.nabble.com>

> 
> 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.