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....@cbs.dk Priv: pda...@gmail.com ______________________________________________ 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.