| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Index a data frame |
| From: | Kenneth Cabrera <krcabrer@epm.net.co> |
| Date: | Wed, 18 Jan 2006 02:32:36 -0500 |
| In-reply-to: | <43CD9B8A.7020808@gmail.com> |
| References: | <43CD9B8A.7020808@gmail.com> |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
Hi Splus Users:I have a data.frame (not a matrix), I got a vector with the same length as the number of records (rows) of the data frame, and each element ofthat vector is the column number (in a specific range of columns) of the corresponding record that I must set to zero. How can I do this without a "for" loop? Thank you for your help. Kenneth
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Java insise Splus, José Gonçalves |
|---|---|
| Next by Date: | Re: Index a data frame, Richard M. Heiberger |
| Previous by Thread: | Java insise Splus, José Gonçalves |
| Next by Thread: | Re: Index a data frame, Richard M. Heiberger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |