Description Usage Arguments Value
View source: R/bd_calc_gauss_mix_pdf_mat.R
TH is a matrix of samples of a possibly truncated Gaussian
mixture with dimensions S x P, where S is the number of samples
and P is the number of parameters. Repeatedly call
bd_calc_gauss_mix_pdf
to calculate the density function
for each sample at the points in the vector y, which has length
G. The output density matrix, fMat, has dimensions S x G.
bd_calc_gauss_mix_pdf_mat
supports the same optional
as bd_calc_gauss_mix_pdf
: ymin / ymax to specify the
boundaries of truncation and type to set whether the density,
cumuluative distribution, derivative, or rate is calculated.
1 2 | bd_calc_gauss_mix_pdf_mat(TH, y, ymin = NA, ymax = NA,
type = "density")
|
TH |
A matrix of samples with dimensions S x P |
y |
A vector of points for the density calculation with length G |
ymin |
(optional) The mininum y-value for truncation |
ymax |
(optional) The maximum y-value for truncation |
type |
(optional) The type of calculation: density (default), cumulative, derivative, or rate |
The output matrix with dimensions S x G
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.