Try this:
merge(df1, df2, by.y=1, by.x=1, all=T)
merge(df1, df2, by.y=1, by.x=1)
On 28/11/2007, tom soyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have two sets of data that I would like to put into a data frame. But
> since they have different length, I am not sure how to do this. Here is an
> exa
tom soyer wrote:
> Hi,
>
> I have two sets of data that I would like to put into a data frame. But
> since they have different length, I am not sure how to do this. Here is an
> example of my data:
>
> data set one:
> date growth
> 1/1/2007 10
> 1/2/2007 10.2
> 1/3/2007 10.4
> 1/4/200
Merge worked! Thanks!!!
On 11/28/07, Matthew Keller <[EMAIL PROTECTED]> wrote:
>
> Tom,
>
> Check out ?merge. Does exactly what you need
>
> Matt
>
> On Nov 28, 2007 11:27 AM, tom soyer <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have two sets of data that I would like to put into a data frame. B
Tom,
Check out ?merge. Does exactly what you need
Matt
On Nov 28, 2007 11:27 AM, tom soyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have two sets of data that I would like to put into a data frame. But
> since they have different length, I am not sure how to do this. Here is an
> example of my dat
4 matches
Mail list logo