[R] IMPORTANT!!!! PLEASE HELP ME

Pete Brecknock Peter.Brecknock at bp.com
Sun Nov 25 00:24:24 CET 2012


jholtman wrote
> What do you want to do with the samples after you generate them?  What
> are the parameters for the normal distribution?  You left a lot of
> information out.  You can generate 500,000 numbers and then store them
> in a 10000x50 matrix quite easily.
> 
> On Sat, Nov 24, 2012 at 5:03 PM, Jasmin <

> yasemin_deniz89@

> > wrote:
>> Hi,
>> I want to generate 10000 samples from normal distribution with 
>> replacement
>> case and every sample size is 50. What should I do ?
>>
>>
>>
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/IMPORTANT-PLEASE-HELP-ME-tp4650676.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> 

> R-help@

>  mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 
> -- 
> Jim Holtman
> Data Munger Guru
> 
> What is the problem that you are trying to solve?
> Tell me what you want to do, not how you want to do it.
> 
> ______________________________________________

> R-help@

>  mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


maybe ...

replicate(10000, rnorm(50))

could work for you

HTH

Pete



--
View this message in context: http://r.789695.n4.nabble.com/IMPORTANT-PLEASE-HELP-ME-tp4650676p4650686.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list