Description Usage Arguments Value
Generate multivariate data with the given mean vector and covariance matrix
1 2 3 4 5 6 7 | gen.mul.data(
n = 100,
K = 2,
mu = rep(0, K),
Sigma = diag(K),
distribution = c("GAUSSIAN", "LAPLACE", "EXPONENTIAL")
)
|
n |
sample size |
K |
dimension |
mu |
mean vector |
Sigma |
covariance matrix |
distribution |
distribution |
a n*K
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.