rinvgamma function

Random Inverse Gamma Distribution

Random Inverse Gamma Distribution

Internal function to simulate a value from an inverse Gamma distribution, used by nscosinor. See the MCMCpack library. For internal use only.

Arguments

  • n: number of observations.
  • shape: Gamma shape parameter.
  • scale: Gamma scale parameter (default=1).
  • Maintainer: Adrian Barnett
  • License: GPL (>= 3)
  • Last published: 2022-03-21

Useful links