Learn R Programming

COMPoissonReg (version 0.8.1)

get.fixed: Construct an object that specifies which indices of coefficients should remain fixed in maximum likelihood computation.

Description

Construct an object that specifies which indices of coefficients should remain fixed in maximum likelihood computation.

Usage

get.fixed(beta = integer(0), gamma = integer(0), zeta = integer(0))

Value

List of vectors indicating fixed indices.

Arguments

beta

Vector of indices of beta to keep fixed.

gamma

Vector of indices of gamma to keep fixed.

zeta

Vector of indices of zeta to keep fixed.

Details

Arguments are expected to be vectors of integers. These are interpreted as the indices to keep fixed during optimization. For example, beta = c(1L, 1L, 2L) indicates that the first and second elements of beta should remain fixed. Note that duplicate indices are ignored. The default value is the empty vector integer(0), which requests that no elements of the given coefficient vector should be fixed.