riwishart {cIRT} | R Documentation |
Generate Random Inverse Wishart Distribution
Description
Creates a random inverse wishart distribution when given degrees of freedom and a sigma matrix.
Usage
riwishart(df, S)
Arguments
df |
An |
S |
A |
Value
A matrix
that is an inverse wishart distribution.
Author(s)
James Joseph Balamuta
See Also
rwishart()
and TwoPLChoicemcmc()
Examples
#Call with the following data:
riwishart(3, diag(2))
[Package cIRT version 1.3.2 Index]