mc_transform_list_bdiag: Auxiliar function to compute the derivatives of the C matrix.

View source: R/mc_transform_list_bdiag.R

mc_transform_list_bdiagR Documentation

Auxiliar function to compute the derivatives of the C matrix.

Description

This function take a list of matrices and return a list of block-diagonal matrices, where the original matrices are one block non-zero of the matrix.

Usage

mc_transform_list_bdiag(list_mat, mat_zero, response_number)

Arguments

list_mat

A list of matrices.

mat_zero

A list of zero matrices. In general the output of link[mcglm]{mc_build_bdiag}.

response_number

A numeric specifying the response variable number.

Value

A list of block-diagonal matrices.

Author(s)

Wagner Hugo Bonat


mcglm documentation built on Sept. 16, 2022, 1:06 a.m.