Learn R Programming

ebnm (version 1.1-2)

laplacemix: Constructor for laplacemix class

Description

Creates a finite mixture of Laplace distributions.

Usage

laplacemix(pi, mean, scale)

Value

An object of class laplacemix (a list with elements

pi, mean, and scale, described above).

Arguments

pi

A vector of mixture proportions.

mean

A vector of means.

scale

A vector of scale parameters.