Re: [R] Constructing a matrix of outputs from loop

2013-07-08 Thread David Winsemius
On Jul 8, 2013, at 2:14 PM, Bert Gunter wrote: > David: > > Perhaps not. func() must be vectorized for this to work. > > -- Bert > > > On Mon, Jul 8, 2013 at 2:06 PM, David Carlson wrote: >> ?outer >> >> e.g. output <- outer(ap, am, func) >> >> - >> Davi

Re: [R] Constructing a matrix of outputs from loop

2013-07-08 Thread Bert Gunter
David: Perhaps not. func() must be vectorized for this to work. -- Bert On Mon, Jul 8, 2013 at 2:06 PM, David Carlson wrote: > ?outer > > e.g. output <- outer(ap, am, func) > > - > David L Carlson > Associate Professor of Anthropology > Texas A&M University

Re: [R] Constructing a matrix of outputs from loop

2013-07-08 Thread David Carlson
?outer e.g. output <- outer(ap, am, func) - David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of