R/rbinom-hhsmm.R

Defines functions .rnbinom.hhsmm

.rnbinom.hhsmm <- function(n,size,prob,shift) {
  if(shift<0) stop(".dnbinom.hhsmm: shift must be > 0")
  rnbinom(n,size,prob) + shift 
}

Try the hhsmm package in your browser

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

hhsmm documentation built on Aug. 8, 2023, 9:06 a.m.