Learn R Programming

spikeSlabGAM (version 0.9-6)

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

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