powered by
Simulate Wishart random variates
rWishart0(v, M, method = "inv_tf")
A scalar; degrees of freedom.
A matrix; the matrix parameter of the Wishart distribution.
base or inv_tf; base refers to the function in the `stats` package while inv_tf refers to inverse transform.
# NOT RUN { d <- 4 rWishart0(3, crossprod(randn(d, d))) # }
Run the code above in your browser using DataLab