[R] A comment about R:

Fernando Henrique Ferraz P. da Rosa academic at feferraz.net
Thu Jan 5 14:09:42 CET 2006


Peter Dalgaard writes:
> Patrick Burns <pburns at pburns.seanet.com> writes:
> 
> whereas you could quite conceivably do it in R. (What *is* the
> equivalent of rnorm(25) in those languages, actually?)
> 
        In SAS, it would go along the lines of:

data randvec(drop=seed);
 seed = 459437845;
 do obs = 1 to 25;
   x = rannor(seed);
   output;
   end;
 run;
 
--
"Though this be randomness, yet there is structure in't."
                                           Rosa, F.H.F.P

Instituto de Matemática e Estatística
Universidade de São Paulo
Fernando Henrique Ferraz P. da Rosa
http://www.feferraz.net




More information about the R-help mailing list