Learn R Programming

campsismod (version 1.2.1)

sampleFromInverseWishartCore: Sample from scaled inverse Wishart distribution (core method).

Description

Sample from scaled inverse Wishart distribution (core method).

Usage

sampleFromInverseWishartCore(n, df, mat, allColnames, wishartCorrection)

Value

a data frame with the sampled parameters

Arguments

n

numbers of rows to sample

df

degree of freedom

mat

scaling matrix

allColnames

all column names as they are going to appear when as.vector is called

wishartCorrection

apply correction to the degrees of freedom, logical