get_info_mat_pieces_helper: Get matrices from fit

View source: R/info_matrix_functs.R

get_info_mat_pieces_helperR Documentation

Get matrices from fit

Description

Obtains the matrices Delta, V, Delta', and H, and Delta * H from a fitted GLM object given a set of indexes.

Usage

get_info_mat_pieces_helper(fit, idxs)

Arguments

fit

a fitted GLM object

idxs

the sample indexes on which to extract the matrices

Value

a list of diagonal matrices, represented as list of numeric vectors. The diagonal matrices are Delta, V, Delta', H, and Delta * H.


timothy-barry/glmeiv documentation built on Jan. 30, 2024, 3:46 p.m.