R/rCFNB.R

Defines functions rCFNB

Documented in rCFNB

#' @export
#' @import stats

rCFNB<-function(n, a, b, s, lambda)
	{
    p <- runif(n, min = 0, max = 1)
    rn <- qCFNB(p, a, b, 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.