R/getM.r

Defines functions getM

Documented in getM

getM <- function(d,p){
  M <- choose(d+p,d)
  # M <- factorial(N+P)/factorial(N)/factorial(P)
	return(M)
}

Try the GPC package in your browser

Any scripts or data that you put into this service are public.

GPC documentation built on May 30, 2017, 12:50 a.m.