Constructor and accessor functions of univariate mixture distributions, composed of exponential, normal and gamma distributions.

The methods leverage methods from class 'mle2' of package 'bbmle'

fit(object, ...)

ecoff(object, ...)

rsquared(object, ...)

startpar(object, ...)

models(object, ...)

# S4 method for mxObj
coef(object, i = NULL, ...)

pstart(obj, ...)

# S4 method for mxObj
pstart(obj, ...)

# S4 method for mxMle
summary(object, ...)

# S4 method for mxMle
vcov(object, ...)

# S4 method for mxMle
AIC(object, ..., k = 2)

# S4 method for mxMle
logLik(object, ...)

get_data(object, ...)

# S4 method for mxMle
get_data(object, ...)

mxObj(x, type = NA, left = c("e", "n"))

Arguments

object

an object of class 'mxObj'

...

optional arguments passed to the methods

i

index of an individual distribution component

obj

an object of class 'mxObj'

k

penalty parameter (nearly always left at its default value of 2)

x

object (vector, list, data.frame) containing mixture distributions in one of sereral known formats. (thpe-todo: document known formats)

type

type of the mixture distribution, e.g. "n", "en", "nnn", etc.

left

whether leftmost distribution is exponential ("e") or normal ("n")

See also

mle2-class