Rdocumentation
powered by
Learn R Programming
PIGShift (version 1.0.1)
rnorminvgamma: Draw normal-inverse-gamma distributed random variates
Description
This function will return normal-inverse-gamma distributed random variates
Usage
rnorminvgamma(n, alpha, beta)
Arguments
n
the number of variates to generate
alpha
shape parameter of the inverse gamma distribution
beta
scale parameter of the inverse gamma distribution
Value
A vector of random variates arising form the normal-inverse-gamma distribution