R/rigamma.R

rigamma = function(n, a, b) {
        return(1/rgamma(n, shape = a, rate = b))
    }

Try the LearnBayes package in your browser

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

LearnBayes documentation built on May 1, 2019, 7:03 p.m.