| To: | <s-news@wubios.wustl.edu> |
|---|---|
| Subject: | [S] condensing a dataframe sequentially |
| From: | "Valerie Zartarian" <VZARTARIAN@usgs.gov> |
| Date: | Fri, 29 Jan 1999 12:53:52 -0500 |
| Sender: | owner-s-news@wubios.wustl.edu |
Hi, My original dataframe VZ.df looks like: V1 V2 V3 V4 V5 a b d g 5 a b d g 5 a b d g 5 a b d g 5 a c e g 5 a c e h 5 a c e g 5 a c e g 5 a c e h 5 a c e h 5 a c f g 5 a c f g 5 I want to aggregate V5 over common rows sequentially as follows: a b d g 20 a c e g 5 a c e h 5 a c e g 10 a c e h 10 a c f g 10 Any ideas on how to do it without a for loop? ----------------------------------------------------------------------- This message was distributed by s-news@wubios.wustl.edu. To unsubscribe send e-mail to s-news-request@wubios.wustl.edu with the BODY of the message: unsubscribe s-news |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [S] Summary of Questions about Image Plots -- Legends and Color Schem es, Humbolt, Allen |
|---|---|
| Next by Date: | [S] Recommendations for PC?, Jean Adams |
| Previous by Thread: | [S] Summary of Questions about Image Plots -- Legends and Color Schem es, Humbolt, Allen |
| Next by Thread: | Re: [S] condensing a dataframe sequentially, Douglas Bates |
| Indexes: | [Date] [Thread] [Top] [All Lists] |