Learn R Programming

glmmrBase (version 0.1.2)

genD: Generates the covariance matrix of the random effects

Description

Generates the covariance matrix of the random effects from a sparse representation

Usage

genD(D_data, gamma)

Value

A symmetric positive definite covariance matrix

Arguments

D_data

Named list specifying the covariance matrix D. Usually the return from the member function `get_D_data()` of the covariance class

gamma

Vector of covariance parameters specified in order they appear column wise in the functions specified by `func_def`