rwish | R Documentation |
Random generation from the Wishart distribution.
rwish(v, S)
v |
Degrees of freedom (scalar). |
S |
Inverse scale matrix |
The mean of a Wishart random variable with v
degrees of freedom and
inverse scale matrix S
is vS
.
rwish
generates one random draw from the distribution.
## Not run:
draw <- rwish(3, matrix(c(1,.3,.3,1),2,2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.