Wedge_Gaussian_Mixture: Restricted Gaussian Mixture density

Description Usage Arguments Value Examples

Description

Computes mixed Gaussian density restricted to wedge W. Require mvtnorm package.

Usage

1
Wedge_Gaussian_Mixture(x, weights, means, sigmas)

Arguments

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

Value

The function Wedge_Gaussian_Mixture returns numerical value of the mixed Gaussian density restricted to wedge W.

Examples

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)

maroulaslab/BayesTDA documentation built on June 6, 2019, 4:43 p.m.