Rdocumentation
powered by
Learn R Programming
covreg (version 1.0)
rwish: Sample from the Wishart distribution
Description
Generate a random sample from the Wishart distribution
Usage
rwish(S0, nu)
Arguments
S0
a positive definite matrix
nu
a positive integer
Value
a positive definite matrix
Details
Return a ramdom sample from the Wishart distribution with mean nu*S0.