Description Usage Arguments Value Author(s) See Also Examples
View source: R/multiNorm-rmvn_chol_of_rhocap.R
Generate Data from the Multivariate Normal Distribution Using the Cholesky Decomposition - Correlation Matrix Input
1 | rmvn_chol_of_rhocap(n, x, varnames = NULL, data_frame = FALSE)
|
n |
Positive integer.
|
x |
Numeric matrix. Parameter. Correlation matrix \mathbf{P}. |
varnames |
Character vector Optional variable names. |
data_frame |
Logical.
If |
A matrix (data_frame = FALSE
) or data.frame (data_frame = TRUE
).
Ivan Jacob Agaloos Pesigan
Other Multivariate Normal Distribution Functions:
grad_l_mvn_generic()
,
grad_l_mvn()
,
hess_l_mvn_generic()
,
hess_l_mvn()
,
l_mvn_generic()
,
l_mvn()
,
mvn_theta_helper()
,
negl_mvn()
,
rmeans_mvn_chol_of_theta()
,
rmeans_mvn_chol()
,
rmvn_chol_of_theta()
,
rmvn_chol_of_vechsrhocap()
,
rmvn_chol()
,
rvcov_mvn_chol()
,
rvcov_wishart_of_vechsigmacap()
,
rvcov_wishart()
1 2 3 4 5 6 7 8 9 10 11 | rhocap <- matrix(
data = c(
1, 0.5, 0.5, 1
),
nrow = 2
)
rmvn_chol_of_rhocap(
n = 5,
x = rhocap
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.