riwishart: Generate Random Inverse Wishart Distribution

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

Creates a random inverse wishart distribution when given degrees of freedom and a sigma matrix.

Usage

1

Arguments

df

An int that represents the degrees of freedom. (> 0)

S

A matrix with dimensions m x m that provides Sigma, the covariance matrix.

Value

A matrix that is an inverse wishart distribution.

Author(s)

James J Balamuta

See Also

rwishart and TwoPLChoicemcmc

Examples

1
2
#Call with the following data:
riwishart(3, diag(2))

cIRT documentation built on May 19, 2017, 9:19 p.m.

Search within the cIRT package
Search all R packages, documentation and source code