covariate | R Documentation |
Create a covariate term that is not convolved with a hemodynamic response function (HRF).
covariate(..., data, id = NULL, prefix = NULL)
... |
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. |
A list containing information about the covariate term.
df1 <- data.frame(x=rnorm(100), y=rnorm(100))
cv <- covariate(x, y, data=df1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.