Learn R Programming

TensorMCMC (version 0.1.0)

rigamma: Inverse-gamma random number generator

Description

Inverse-gamma random number generator

Usage

rigamma(n, shape, rate)

Value

A numeric vector of inverse-gamma samples.

Arguments

n

Number of samples.

shape

Shape parameter of the gamma distribution.

rate

Rate parameter of the gamma distribution.