Learn R Programming

spikeSlabGAM (version 1.1-19)

u: Generate design for an always included covariate

Description

Basically a wrapper for model.matrix(~ x, ...).

Usage

u(x, ...)

Arguments

x

covariate

...

arguments passed to model.matrix

Value

a design matrix for x