- 1. [S] trying to avoid looping (score: 1)
- Author: Pamela Goodman <pgoodman@nwifc.wa.gov>
- Date: Fri, 15 Sep 2000 12:01:33 -0700
- Greetings Everyone, I need to do a computation that requires all unique products of two columns of a matrix (or data frame, I'm not picky), including the multiplication of the columns with themselves
- /archives/html/s-news/2000-09/msg00111.html (8,086 bytes)
- 2. [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)
This search system is powered by
Namazu