| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | observation number |
| From: | Janusz Borkowski <borek@igf.edu.pl> |
| Date: | Tue, 17 Jun 2003 15:10:29 +0200 |
| Reply-to: | borek@igf.edu.pl |
| User-agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
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 4 1 3 5 2 4 6 2 5 7 2 6 8 To find minimum value of R1 for each day is easy: min.valR1<-Tapply(R1,Dn,min)but how can I get not only the vector of minimum values, but also a vector of observation numbers for which the minimum occurred I am using S+ 4.5 for Windows. I will appreciate any advice. Janusz Borkowski |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | GLM-related questions, Dominique PELLETIER |
|---|---|
| Next by Date: | Re: deconvolution, Spencer Graves |
| Previous by Thread: | GLM-related questions, Dominique PELLETIER |
| Next by Thread: | Re: observation number, Spencer Graves |
| Indexes: | [Date] [Thread] [Top] [All Lists] |