rwish: Sample from the Wishart distribution

Description Usage Arguments Details Value Author(s)

View source: R/rwish.R

Description

Generate a random sample from the Wishart distribution

Usage

1
rwish(S0, nu)

Arguments

S0

a positive definite matrix

nu

a positive integer

Details

Return a ramdom sample from the Wishart distribution with mean nu*S0.

Value

a positive definite matrix

Author(s)

Xiaoyue Niu and Peter Hoff


covreg documentation built on May 29, 2017, 5:12 p.m.