fct {spikeSlabGAM}R Documentation

Generate design for a factor covariate

Description

Generate design for a factor covariate

Usage

fct(x, contr = "contr.sum")

Arguments

x

a covariate that can be treated as a factor

contr

(character) name of the contrasts associated with the factor. Defaults to "contr.sum".

Value

design matrix for a factor

Author(s)

Fabian Scheipl


[Package spikeSlabGAM version 1.1-19 Index]