| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Convert a Matrix of Indices to a Matrix of Values |
| From: | "Paul H. Lasky" <phlasky@earthlink.net> |
| Date: | Thu, 27 Mar 2008 06:52:56 -0800 (GMT-08:00) |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=Quv17OXm/blcJ0mx1V3i5Q81fmFHaDuocwjL23Z46diAhLuSGPeWK3U8soVi1Klc; h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; |
| Reply-to: | "Paul H. Lasky" <phlasky@earthlink.net> |
I have m vectors v with different lengths, and a n X m matrix of indices. I wish to transform the index matrix to a matrix of values of v, with each column representing values of v. Can this transformation be accomplished without looping ? Using loops the transformation is straightforward, awkward, and time consuming. Paul H. Lasky P & B Consulting |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: timeSeries question, eggraid |
|---|---|
| Next by Date: | Re: Help with mixed logistic model ( beta-binomial), Stella Karuri |
| Previous by Thread: | timeSeries question, Bernardo Ribeiro |
| Next by Thread: | Re: Convert a Matrix of Indices to a Matrix of Values, Liaw, Andy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |