df: Calculate the degrees of freedom based on the mean and...

Description Usage Arguments Value

View source: R/wishart.R

Description

One can input the expectation and variance of a diagonal element of the matrix.

Usage

1
df(m, var, p)

Arguments

m

Mean.

var

Variance.

p

The dimension of the matrix.

Value

The degrees of freedom of an inverse Wishart distribution.


johnnyzhz/wishartprior documentation built on Jan. 9, 2021, 12:37 a.m.