trialwise | R Documentation |
Generate one regressor per trial (plus an optional grand-mean column)
by delegating everything to hrf()
.
trialwise(
basis = "spmg1",
lag = 0,
nbasis = 1,
add_sum = FALSE,
label = "trial"
)
basis , lag , nbasis |
Passed straight to |
add_sum |
If TRUE, append a column that is the average of all trialwise columns (useful as a conventional main effect). |
label |
Term label / prefix for the generated columns. |
Use it only on the RHS of an event-model formula:
onset ~ trialwise(basis = "spmg1", add_sum = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.