Learn R Programming

spikeSlabGAM (version 1.1-19)

rnd: Generate design for a random intercept

Description

Generate design for a random intercept

Usage

rnd(x, C = NULL)

Arguments

x

a covariate that can be treated as a factor

C

an optional known correlation structure of the random effects associated with x

Value

design matrix for a random intercept for x