Skip to contents

Create a covariate term that is not convolved with a hemodynamic response function (HRF).

Usage

covariate(..., data, id = NULL, prefix = NULL)

Arguments

...

A variable argument set of covariate names.

data

A data.frame containing the variables.

id

An optional identifier for the covariate term.

prefix

An optional prefix to add to the covariate names.

Value

A list containing information about the covariate term.

Examples

df1 <- data.frame(x=rnorm(100), y=rnorm(100))
cv <- covariate(x, y, data=df1)