[R] binomial distribution

Peter Dalgaard pdalgd at gmail.com
Sat Aug 28 22:40:37 CEST 2010


On 08/28/2010 10:23 PM, tamas barjak wrote:
> Hello!
> 
> I need some help.
> How I know it to draw the formula of the binomial distribution?
> 
> expr<-expression(P(xi == k) == choose(n, k)* p^k*(1-p)^(n-k)) ---> not good
> 
> on the screen the "choose(n, k)" not the Binomial Formula, but "choose(n,
> k)"

Check demo(plotmath), 4th-to-last example.

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list