View source: R/truncated_normal.R
get_trunc_2dmoments | R Documentation |
compute multivariate truncated normal mean and cov by sampling
get_trunc_2dmoments(mean, cov, lower, upper, n_sample = 5000)
mean |
Normal mean vector |
cov |
Normal covariance matrix |
lower |
Lower boundary of truncated intervals |
upper |
Upper boundary of truncated intervals |
n_sample |
Number of samples to use for sampling methods |
A list containing
mean
Mean vector
cov
Covariance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.