| To: | Sarah Henderson <sarah.henderson@ubc.ca>, s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Re: A (probably) trivial question about first occurrence in unique() |
| From: | "Richard M. Heiberger" <rmh@temple.edu> |
| Date: | Wed, 30 May 2007 17:32:32 -0400 (EDT) |
tmp <- data.frame(s=letters[c(1,1,1,2,2,3,4,4,4,4,5,6)],
m=LETTERS[1:12])
tmp[match(unique(tmp$s), tmp$s),]
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: A (probably) trivial question about first occurrence in unique(), Greg Snow |
|---|---|
| Next by Date: | Re: A (probably) trivial question about first occurrence in unique(), Alejandro Munoz |
| Previous by Thread: | Re: A (probably) trivial question about first occurrence in unique(), Tim Hesterberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |