There are a couple of packages with rdirichlet functions, including gtools and 
bayesm (and probably others).

If these do not do what you want, give us some more detail of what you are 
trying to do.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of khaz...@ceremade.dauphine.fr
> Sent: Thursday, February 04, 2010 4:26 AM
> To: r-help@r-project.org
> Subject: [R] simulat from dirichet process
> 
> Sorry for last mail because the subject was wrong.
> 
> 
> Hello all
> 
> I want to simulate a sample from Dirichlet distribution with parameter
> alpha(.), for example:
>  X=(0,1)
>  alpha(.)=2*beta(1,1).
> Can you help me please?
> 
> thank you
> khazaei
> 
> ______________________________________________
> R-help@r-project.org 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.

______________________________________________
R-help@r-project.org 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.

Reply via email to