Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Nov 22 15:33:42 CET 2001
On Thu, 22 Nov 2001, Yannick Wurm wrote:
> I started studying Bioinformatics at my engineering school (INSA de
> lyon!) in september. We started learning statistics and did two classes
> of R hands-on, but I want to learn to use R better. (As in for my every
> day calculations - I'm in front of a computer anyway so why should I
> have to take out my TI-30?) I'm having trouble finding some of the
> simpler stat functions though. (despite help.search()-ing quite a bit)
> How can I calculate a factorial (as in 5! = 5*4*3*2*1)?
Use gamma. gamma(n+1) = n!
> How can I calculate Cnp, the number of combinations of p elements
> out of n elements? I found binomial() but that is the binomial law and
> not simply Cnp.
> Does anyone have a *simple* R reference sheet for R beginners who
> only want to do simple things?
Simple is in the eye of the beholder. These seem fairly esoteric to me.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help