Creates a finite mixture of gamma distributions.

gammamix(pi, shape, scale, shift = rep(0, length(pi)))

Arguments

pi

A vector of mixture proportions.

shape

A vector of shape parameters.

scale

A vector of scale parameters.

shift

A vector of shift parameters.

Value

An object of class gammamix (a list with elements

pi, shape, scale, and shift, described above).