R/rCEWNB.R

Defines functions rCEWNB

Documented in rCEWNB

#' @export
#' @import stats

rCEWNB<-function(n, alpha,beta,theta,s,lambda)
	{
    p <- runif(n, min = 0, max = 1)
    rn <- qCEWNB(p, alpha, beta, theta, s, lambda)
    return(rn)
	}

Try the ComRiskModel package in your browser

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

ComRiskModel documentation built on May 31, 2023, 8:17 p.m.