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


fabian-s/spikeSlabGAM documentation built on Oct. 27, 2024, 11:47 a.m.