Skip to content
Prev 273472 / 398506 Next

Populate a matrix

One more version: somewhere in the middle of the explicitness scale,

 matrix(rep(y, times = length(x)), nrow=length(y))

On Wed, Oct 5, 2011 at 12:17 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote: