Description Usage Arguments Details Value See Also Examples
Objects of class Mix
represent finite mixtures of any univariate distribution. Methods for construction, printing and plotting are provided.
1 2 3 4 5 6 |
dist |
a character string giving the (abbreviated) name of the component distribution, such that the function |
w |
numeric vector of length p, specifying the mixture weights w[i] of the components, i = 1,…,p. If the weights don't add up to 1, they will be scaled accordingly. Uses equal weights for all components by default. |
theta.list |
named list specifying the component parameters. The names of the list elements have to match the names of the formal arguments of the functions |
name |
optional name tag of the result (used for printing and plotting). |
x |
|
... |
|
Note that the Mix
function will change the random number generator (RNG) state.
An object of class Mix
(implemented as a matrix) with the following attributes:
dim |
dimensions of the matrix. |
dimnames |
a |
name |
as entered via |
dist |
as entered via |
discrete |
logical indicating whether the mixture distribution is discrete. |
theta.list |
as entered via |
dMix
for the density,
rMix
for random numbers (and construction of an rMix
object) and
plot.Mix
for the plot method.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.