Learn R Programming

glmmrBase (version 0.1.2)

loglikD: Returns log likelihood for a set of observations

Description

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

Usage

loglikD(D_data, gamma, u)

Value

A lower triangular matrix 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`

u

A realisation of the random effects