construct a design matrix from the term
Usage
design_matrix(x, ...)
# S3 method for event_model
design_matrix(x, blockid = NULL, ...)
# S3 method for convolved_term
design_matrix(x, blockid = NULL, ...)
# S3 method for matrix_term
design_matrix(x, ...)
# S3 method for fmri_model
design_matrix(x, blockid = NULL, ...)
Arguments
- x
the term
- ...
additional arguments
- blockid
the block id to extract