[R] factorial function

Ramon Diaz rdiaz at cnio.es
Fri Feb 14 11:10:06 CET 2003


Dear Serge,

For factorial of x, you can use "gamma(x + 1)". Alternatively, you can install 
the gregmisc package which has a "factorial" function that does that (if I 
recall correctly).

Best,




On Friday 14 February 2003 11:36, Serge Boiko wrote:
> Sorry for the stupid question, but is there the factorial function in
> R? I tried to find it using help.search('factorial') but got nothing
> appropriate.
> Many thanks,
> -Serge
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help

-- 
Ramón Díaz-Uriarte
Bioinformatics Unit
Centro Nacional de Investigaciones Oncológicas (CNIO)
(Spanish National Cancer Center)
Melchor Fernández Almagro, 3
28029 Madrid (Spain)
http://bioinfo.cnio.es/~rdiaz




More information about the R-help mailing list