TABLE OF CONTENTS
CmiscUtils/rinvgamma [ Functions ]
NAME
rinvgamma --- inverse gamma random numbers
FUNCTION
Generate inverse gamma random numbers, using the gamma RNG function in R.
SYNOPSIS
625 static inline double rinvgamma(double shape, double scale)
SOURCE
629 { 630 double out = 1.0 / rgamma(shape, 1.0/scale); 631 return out; 632 }