gammamix {ebnm}R Documentation

Constructor for gammamix class

Description

Creates a finite mixture of gamma distributions.

Usage

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).


[Package ebnm version 1.1-2 Index]