View source: R/approach_gaussian.R
create_marginal_data_gaussian | R Documentation |
Given a multivariate Gaussian distribution, this function creates data from specified marginals of said distribution.
create_marginal_data_gaussian(n_MC_samples, Sbar_features, mu, cov_mat)
n_MC_samples |
Integer. The number of samples to generate. |
Sbar_features |
Vector of integers indicating which marginals to sample from. |
mu |
Numeric vector containing the expected values for all features in the multivariate Gaussian distribution. |
cov_mat |
Numeric matrix containing the covariance between all features in the multivariate Gaussian distribution. |
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.