Learn R Programming

ebnm (version 1.1-2)

gammamix: Constructor for gammamix class

Description

Creates a finite mixture of gamma distributions.

Usage

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

Value

An object of class gammamix (a list with elements

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

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.