delete.intercept function

Delete intercept from model matrix

Delete intercept from model matrix

A utility function to delete any intercept column from a model matrix, and adjust the "assign" attribute correspondingly. It is used by formula handling functions like mvr and model.matrix.mvr.

delete.intercept(mm)

Arguments

  • mm: Model matrix.

Returns

A model matrix without intercept column.

See Also

mvr, model.matrix.mvr

Author(s)

Bjørn-Helge Mevik and Ron Wehrens

  • Maintainer: Kristian Hovde Liland
  • License: GPL-2
  • Last published: 2024-09-15