gammamix: Constructor for gammamix class

View source: R/point_exponential.R

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


ebnm documentation built on Oct. 13, 2023, 1:16 a.m.