Re: [R] code that will use two data sets which differ in size.

2009-06-28 Thread John Kane
Get means from vector into target --- On Sun, 6/28/09, arnoldo wrote: > From: arnoldo > Subject: Re: [R] code that will use two data sets which differ in size. > To: r-help@r-project.org > Received: Sunday, June 28, 2009, 4:40 AM > > Hi , > > Thanks for the timely repl

Re: [R] code that will use two data sets which differ in size.

2009-06-28 Thread arnoldo
Hi , Thanks for the timely reply in,z is the larger dataframe and m is the shorter dataframe. The code took more than 2 hrs and I had to kill it. Another way putting this question could be; how can I use th family of (apply) funtions to get the summary of one of the variables based on two factor

[R] code that will use two data sets which differ in size.

2009-06-25 Thread Arnold Akem
Hi all, This is a really basic question but I can't figure it out. I am trying to write a piece of code that will  use two datasets, z and m.. This code is meant to assign the mean of selected values in dataset m to a new column z$c in datset z but the rows and columns of the two data sets diffe