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.


COMPoissonReg documentation built on May 29, 2024, 8:17 a.m.