[R] How can I generate this numbers

Ricardo Rios alfilnegro.sv at gmail.com
Tue Oct 3 00:21:45 CEST 2006


Hi Rolf Turner, I have a  statistical model, it model need this
numbers for calculate the probability. This numbers must be random.

For example I need that
>magicfunction(3)
>[1] 0.3152460 0.5231614 0.1615926
>magicfunction(3)
>[1]  0.6147933 0.3122999  0.0729068

but the argument of the function is arbitrary , does somebody
know if exist this function in R?









On 10/2/06, Rolf Turner <rolf at erdos.math.unb.ca> wrote:
>
> This sounds so simple it must be a homework problem, no?
>
>                                 cheers,
>
>                                         Rolf Turner
>                                         rolf at math.unb.ca
>


-- 
Web Page
http://www.geocities.com/ricardo_rios_sv/index.html



More information about the R-help mailing list