get.modelmatrix {COMPoissonReg}R 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.


[Package COMPoissonReg version 0.8.1 Index]