Learn R Programming

COMPoissonReg (version 0.8.1)

get.modelmatrix: 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)

Value

List of model matrix terms.

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.