Re: [R] tricky (for me) merging of data

From: Tal Galili <tal.galili_at_gmail.com>
Date: Sun, 27 Feb 2011 22:49:15 +0200

Hi Grant,
I don't have a solution, but just to be clearer on your situation:

One row from sheet 2 looks like this:
BC1 BC2 1 01/02/87 33 3 1 03/03/87 44 3 ?

Are you using only the first 6 columns for the data to be replicated, and using the other columns as some sort of indicators on when a sequence ends? If so, I would suggest asking the group how you might be able to turn sheet 2 so that it will have as many rows as you needs (which you will then merge with sheet 1).

And for clarity sake, consider using ?dput for your objects. Looking at data the way you pasted them (also, without column names) is not very easy for the reader (which might reduce your chances of getting help).

Cheers,
Tal

----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili_at_gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English)

On Sun, Feb 27, 2011 at 6:41 PM, Grant Gillis <grant.j.gillis_at_gmail.com>wrote:

> BC1 BC2 1 01/02/87 33 3 1 03/03/87 44 3

        [[alternative HTML version deleted]]



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. Received on Sun 27 Feb 2011 - 20:51:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Feb 2011 - 21:10:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive