Re: [R] Unique observations

2009-11-25 Thread David Winsemius
On Nov 25, 2009, at 9:44 AM, John Lipkins wrote: Hey R list, A beginners question. How can I do the following: In my research population it is possible that several items can appear several times, measured on different moments in time. This is being supplied in a total list with all observa

Re: [R] Unique observations

2009-11-25 Thread jim holtman
shouldn't the first observation for Tree1 be " Tree1 leaves 01-01-2009"? > x <- read.table(textConnection("Tree disease date + Tree1 leaves 01-01-2009 + Tree2 roots 13-09-2009 + Tree1 roots 24-10-2009"), header=TRUE) > closeAllConnections() > # split by "Tree" and take first observati

[R] Unique observations

2009-11-25 Thread John Lipkins
Hey R list, A beginners question. How can I do the following: In my research population it is possible that several items can appear several times, measured on different moments in time. This is being supplied in a total list with all observations identified by a number (per item) and a moment of