Re: [R] How can I generate this numbers

From: Ricardo Rios <alfilnegro.sv_at_gmail.com>
Date: Mon 02 Oct 2006 - 22:21:45 GMT

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@erdos.math.unb.ca> wrote:
>
> This sounds so simple it must be a homework problem, no?
>
> cheers,
>
> Rolf Turner
> rolf@math.unb.ca
>

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

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Tue Oct 03 08:26:22 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 02 Oct 2006 - 23:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.