vardet: Determinant selector for chosen covariance matrix.

View source: R/matrixutils.R

vardetR Documentation

Determinant selector for chosen covariance matrix.

Description

Determinant selector for chosen covariance matrix.

Usage

vardet(n, rho, deriv, variance)

Arguments

n

dimensions

rho

off-diagonal parameter

deriv

logical whether to return the determinant or the derivative of the log of the determinant

variance

variance structure - AR(1) or CS.

Value

Determinant or derivative of log-inverse for the specified matrix structure.


MixMatrix documentation built on Oct. 1, 2024, 1:07 a.m.