get.modelmatrix: Construct model matrices and offsets for CMP/ZICMP regression

View source: R/helpers.R

get.modelmatrixR Documentation

Construct model matrices and offsets for CMP/ZICMP regression

Description

Construct model matrices and offsets for CMP/ZICMP regression

Usage

get.modelmatrix(X = NULL, S = NULL, W = NULL, offset = NULL)

Arguments

X

An X matrix to use with beta.

S

An S matrix to use with gamma.

W

A W matrix to use with zeta.

offset

An offset object. See helper function get.offset.

Value

List of model matrix terms.


lotze/COMPoissonReg documentation built on Feb. 11, 2024, 12:03 p.m.