Rdocumentation
powered by
Learn R Programming
spikeSlabGAM (version 1.1-7)
lin: 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