Include an Offset in a Model Formula (original) (raw)

offset {stats} R Documentation

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

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](../../stats/help/model.offset.html), [model.frame](../../stats/help/model.frame.html).

For examples see [glm](../../stats/help/glm.html) and[Insurance](../../MASS/help/Insurance.html) in package MASS.


[Package _stats_ version 4.6.0 Index]