Re: [R] Random number datasets help

2009-06-19 Thread Alexandre Lockhart
)) > >> > >> > >> HTH, > >> > >> Marc Schwartz > >> > >> On Jun 18, 2009, at 12:51 PM, Henrique Dallazuanna wrote: > >> > >> Try this also: > >>> > >>> a <- expand.grid(a1, a2) > >>&

Re: [R] Random number datasets help

2009-06-18 Thread Alexandre Lockhart
function(x) rnorm(500, x[1], x[2])) > >> > >> > >> HTH, > >> > >> Marc Schwartz > >> > >> On Jun 18, 2009, at 12:51 PM, Henrique Dallazuanna wrote: > >> > >> Try this also: > >>> > >>> a

[R] Random number datasets help

2009-06-18 Thread Alexandre Lockhart
Hello: My problem is that I have a data frame of means, and a data frame of standard deviations which match up to each mean. I have been trying to create 500 random numbers in a given dataset for each mean/sd combination, but I am only able to generate the last value in each data set to creat