Description Usage Arguments Value Examples
Computes mixed Gaussian density restricted to wedge W. Require mvtnorm
package.
1 | Wedge_Gaussian_Mixture(x, weights, means, sigmas)
|
x: |
two element vector. These are the points to evaluate density at. |
weights: |
a vector of the mixture weights |
means: |
a list of two element vector where the vectors are the means of the restricted Gaussian |
sigmas: |
a vector of positive constants, sigmas in covariance matrices of the restricted Gaussian |
The function Wedge_Gaussian_Mixture
returns numerical value of the mixed Gaussian density restricted to wedge W.
1 2 | # input the mean and constant sigma of covariance matrix
w <- Wedge_Gaussian_Mixture(x = c(1,2), weights = 1, means = list(c(1,1)), sigmas= 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.