Re: [R] How I calculate nCr with R ? (Como calculo nCr con R? )

From: Michael Dewey <med_at_aghmed.fsnet.co.uk>
Date: Sun 20 Mar 2005 - 02:15:25 EST

At 10:37 19/03/05, Mario Morales wrote:
>En español (In Spanish)
>
>Necesito calcular la en numeros de combinaciones de n cosas
>tomando k al tiempo.

In English we usually read this as N choose r and with that clue you might go ?choose

Incidentally your English is fine although I see the logic in giving us both.

>Como hago eso en R ???
>
>Yo escribí mi propia función pero pienso que de esa forma no es
>fácil para mis estudiantes .
>
>He estado buscando en la ayuda y no he encontrado información
>sobre una función que calcule eso directamente. Podrían ayudarme
>
>
>In English (en Inglés )
>
>I need calculate the combination of n things taking k at time.
>
>
>How do I do that in R ?
>
>I wrote my own function but in this form isn't easy for my
>students.
>
>Can you help me ?
>
>

Michael Dewey
med@aghmed.fsnet.co.uk
http://www.aghmed.fsnet.co.uk/home.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Mar 20 02:29:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST