khazaei at ceremade.dauphine.fr
2010-Feb-04 11:23 UTC
[R] [Fwd: question on plot in R with mac]
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
khazaei at ceremade.dauphine.fr wrote:> > 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? >How is this a question on "plot in R with mac"? Anyway, maybe rdirichlet in the gtools package is what you want. -Peter Ehlers> thank you > khazaei > > ______________________________________________ > R-help at 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. > >-- Peter Ehlers University of Calgary