Include an Offset in a Model Formula

Share:

Description

An offset is a term to be added to a linear predictor, such as in a generalised linear model, with known coefficient 1 rather than an estimated coefficient.

Usage

1
offset(object)

Arguments

object

An offset to be included in a model frame

Details

There can be more than one offset in a model formula, but - is not supported for offset terms (and is equivalent to +).

Value

The input value.

See Also

model.offset, model.frame.

For examples see glm and Insurance in package MASS.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.