covariate: Construct a Covariate Term

View source: R/covariate.R

covariateR Documentation

Construct a Covariate Term

Description

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)

bbuchsbaum/fmrireg documentation built on May 16, 2023, 10:56 a.m.