Arguments
x
Raw data, or a data frame prepared manually, or an
R object of class='bdata'. In density and
print functions,
x is
a fitted object of class mm.
m
Number of mixture components. Default: 2.
mu
The centers of the mixture components. If mu is
provided, m will be ignored and m=length(mu).
type
Type of mixture components. It cab be "normal/gaussian",
"beta","gamma","weibull".
method
Method to find numerical solutions.
Default: 'nelder'. Option: 'newton'.
range.x
vector containing the minimum and maximum values of x
at which to compute the estimate.
The default is the minimum and maximum data values, extended by the
bin width.