| dim.mixture | R Documentation |
Returns the dimension of the first component (all components are assumed to have the same dimension).
## S3 method for class 'mixture'
dim(x)
x |
A |
The dimension of the distribution.
m <- mixture(list(normal(0, 1), normal(5, 1)), c(0.5, 0.5))
dim(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.