| marginal.mvn | R Documentation |
mvn object
x over components indices.Generic method for obtaining the marginal distribution of an mvn object
x over components indices.
## S3 method for class 'mvn'
marginal(x, indices)
x |
The |
indices |
The indices of the marginal distribution to obtain. |
A normal (for a single index) or mvn marginal distribution.
X <- mvn(c(1, 2, 3))
# Univariate marginal
marginal(X, 1)
# Bivariate marginal
marginal(X, c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.