lin: Generate orthogonal polynomial base for a numeric covariate...

View source: R/terms.R

linR Documentation

Generate orthogonal polynomial base for a numeric covariate without intercept

Description

Generate orthogonal polynomial base for a numeric covariate without intercept

Usage

lin(x, order = 1)

Arguments

x

covariate

order

order of the polynomial, defaults to 1

Value

an orthogonal basis for a centered polynomial function in x

Author(s)

Fabian Scheipl


spikeSlabGAM documentation built on June 10, 2022, 5:10 p.m.