rWishart0: Simulate Wishart random variates

Description Usage Arguments Examples

View source: R/mc_rv_simulation.R

Description

Simulate Wishart random variates

Usage

1
rWishart0(v, M, method = "inv_tf")

Arguments

v

A scalar; degrees of freedom.

M

A matrix; the matrix parameter of the Wishart distribution.

method

base or inv_tf; base refers to the function in the 'stats' package while inv_tf refers to inverse transform.

Examples

1
2
d <- 4
rWishart0(3, crossprod(randn(d, d)))

ADtools documentation built on Nov. 9, 2020, 5:09 p.m.