R/cdfBMAgamma.R

`cdfBMAgamma` <-
function (x, WEIGHTS, MEAN, VAR, offset = 0)
{
#
# copyright 2006-present, University of Washington. All rights reserved.
# for terms of use, see the LICENSE file
#
 RATE <- MEAN/VAR
 sum(WEIGHTS*pgamma(x,shape=RATE*MEAN,rate=RATE))-offset
}

Try the ensembleBMA package in your browser

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

ensembleBMA documentation built on Sept. 2, 2022, 9:05 a.m.