[R] [Fwd: question on plot in R with mac]

Peter Ehlers ehlers at ucalgary.ca
Thu Feb 4 13:13:29 CET 2010


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



More information about the R-help mailing list