- 1. [S] answers to trying to avoid looping (score: 1)
- Author: Pamela Goodman <pgoodman@nwifc.wa.gov>
- Date: Fri, 15 Sep 2000 13:05:24 -0700
- Thanks to Gardar Johannesson and Steve McKinney^2 for their suggestions. I have not tested them for my needs yet, but, they will likely do very well for me. foo <- function(x) { xr <- row(x) xc <- co
- /archives/html/s-news/2000-09/msg00112.html (10,260 bytes)
- 2. Re: [S] answers to trying to avoid looping (score: 1)
- Author: "Joseph S. Verducci" <jsv@stat.ohio-state.edu>
- Date: Fri, 15 Sep 2000 17:33:46 -0400 (EDT)
- There seems to be a minor problem with the first solution and the second solution is limited by the stacking of the recursion. For standard settings, the limit is 15 columns: [1] 0.48 0.01 0.00 0.00
- /archives/html/s-news/2000-09/msg00114.html (13,580 bytes)
- 3. Re: [S] answers to trying to avoid looping (score: 1)
- Author: Bill Venables <Bill.Venables@cmis.csiro.au>
- Date: Sat, 16 Sep 2000 10:03:20 +1000
- No, I would not regard those functions as being at all appropriate here. They were written for quite different purposes. Despite appearances this is really a loop solution. I suspect your best solut
- /archives/html/s-news/2000-09/msg00115.html (11,827 bytes)
- 4. Re: [S] answers to trying to avoid looping (score: 1)
- Author: Bill Venables <William.Venables@cmis.CSIRO.AU>
- Date: Sat, 16 Sep 2000 13:31:18 +1000
- I regret to say I have to send my last message again as it accidently became polluted by MicroSoft junk. The most pernicious garbling was to replace the innocent <- by the egregious <<- globally. Now
- /archives/html/s-news/2000-09/msg00116.html (10,811 bytes)
- 5. Re: [S] answers to trying to avoid looping (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Sat, 16 Sep 2000 14:54:18 -0400 (EDT)
- As you have noticed, the function that I suggested does only work for symmetric matrices; here is a correction that works for all matrices: foo <- function(x) { n <- ncol(x) xc <- matrix(1:n,n,n) xr
- /archives/html/s-news/2000-09/msg00119.html (10,145 bytes)
This search system is powered by
Namazu