- 1. observation number (score: 1)
- Author: Janusz Borkowski <borek@igf.edu.pl>
- Date: Tue, 17 Jun 2003 15:10:29 +0200
- Dear S+ users, I have a data frame in which the first column indicates the day number, the second column observation number and the third results of observations. It may look like: Dn On R1 1 1 3 1 2
- /archives/html/s-news/2003-06/msg00108.html (7,432 bytes)
- 2. Re: observation number (score: 1)
- Author: Spencer Graves <spencer.graves@PDF.COM>
- Date: Tue, 17 Jun 2003 06:17:15 -0700
- have you considered "which"? Dear S+ users, I have a data frame in which the first column indicates the day number, the second column observation number and the third results of observations. It may
- /archives/html/s-news/2003-06/msg00110.html (8,196 bytes)
- 3. Re: observation number (score: 1)
- Author: Sundar Dorai-Raj <sundar.dorai-raj@pdf.com>
- Date: Tue, 17 Jun 2003 08:18:07 -0500
- Dear S+ users, I have a data frame in which the first column indicates the day number, the second column observation number and the third results of observations. It may look like: Dn On R1 1 1 3 1 2
- /archives/html/s-news/2003-06/msg00111.html (8,291 bytes)
- 4. Re: observation number (score: 1)
- Author: jingshan zhang <jszhang@stat.rutgers.edu>
- Date: Tue, 17 Jun 2003 09:52:37 -0400 (EDT)
- I am assuming that Dn has been sorted. whichismin<-function(x){return(which(x==min(x)))} m<-length(table(Dn)) # number of days tapply(R1,Dn,whichismin)+cumsum(c(0,table(Dn)[-m])) This can accomodate
- /archives/html/s-news/2003-06/msg00113.html (8,617 bytes)
- 5. observation number (score: 1)
- Author: Janusz Borkowski <borek@igf.edu.pl>
- Date: Tue, 17 Jun 2003 16:21:55 +0200
- Dear S+ users My original problem was: I have a data frame in which the first column indicates the day number, the second column observation number and the third results of observations. It may look
- /archives/html/s-news/2003-06/msg00114.html (9,094 bytes)
This search system is powered by
Namazu