View source: R/sample_covariance_matrix.R
sample_covariance_matrix | R Documentation |
This function samples a covariance matrix from an inverse Wishart distribution.
sample_covariance_matrix(dim, df = dim, scale = diag(dim), diag = FALSE)
dim |
[ |
df |
[ |
scale |
[ |
diag |
[ |
A covariance matrix
.
Other matrix helpers:
check_correlation_matrix()
,
check_covariance_matrix()
,
check_transition_probability_matrix()
,
cov_to_chol()
,
diff_cov()
,
insert_matrix_column()
,
matrix_diagonal_indices()
,
matrix_indices()
,
sample_correlation_matrix()
,
sample_transition_probability_matrix()
,
stationary_distribution()
sample_covariance_matrix(dim = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.