Description Usage Arguments Value
A wrapper using the function hesim::rdiricihlet_mat
. Maintains the row and column names of mat
.
1 | sample_dirichlets(n, mat)
|
n |
Number of samples to draw. |
mat |
A matrix where each row is a separate vector of shape parameters. |
An array of matrices representing a sample from the dirichlet distribution for each row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.