Description Usage Arguments Value See Also Examples
Constructor function of normmix
class. Create a mixture in
two-dimensional with bivariate normal components. If additional parameters
lambda and window are set, it will create an intensity surface.
1 2 3 4 5 6 7 |
ps |
Vector of component probabilities. |
mus |
A list where every element is a vector of length 2, defining the center of each component. |
sigmas |
A list where every element is a 2 by 2 covariance matrix, defining the covariance for each component. |
lambda |
Optional parameter of average number of points. If set with window, the returned object will be an intensity surface. |
win |
Optional parameter of window. Must be set with intensity value to create an intensity surface. |
estimated |
Whether it's an estimated mixture. By default it's set to FALSE. When using an estimated mixture, it should be set to TRUE. |
object |
An object of class |
... |
Currently omitted. |
An object of class "normmix" containing the following components:
m |
Number of components. |
ps |
Vector of component probabilities. |
mus |
List of mean vectors of components. |
sigmas |
List of covariance matrix of components. |
intensity |
Optional intensity value if lambda is provided when calling
|
window |
Optional window object of class |
estimated |
Whether the normal mixture is estimated. |
rnormmix
for generating random mixture.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.