get.offset: Construct values for offsets.

View source: R/helpers.R

get.offsetR Documentation

Construct values for offsets.

Description

Construct values for offsets.

Usage

get.offset(x = NULL, s = NULL, w = NULL)

Arguments

x

Vector of offsets to go with X matrix.

s

Vector of offsets to go with S matrix.

w

Vector of offsets to go with W matrix.

Details

The default value NULL is interpreted as a vector of zeros. At least one component must be non-NULL so that the dimension can be determined.

Value

List of offset terms.


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