Learn R Programming

ksm (version 1.0)

dmbeta2: Matrix beta type II density function

Description

Given a random matrix x, compute the density for arguments shape1 and shape2

Usage

dmbeta2(x, shape1, shape2, log = TRUE)

Value

a vector of length n

Arguments

x

cube of dimension d by d by n containing the random matrix samples

shape1

positive shape parameter, strictly larger than \((d-1)/2\).

shape2

positive shape parameter, strictly larger than \((d-1)/2\).

log

[logical] if TRUE (default), returns the log density.