validate_design_mat {fMRItools} | R Documentation |
Validate design matrix
Description
Coerces design
to a numeric matrix, and optionally checks that the
number of rows is as expected. Sets constant-valued columns to 1, and scales
all other columns.
Usage
validate_design_mat(design, T_ = NULL)
Arguments
design |
The design matrix |
T_ |
the expected number of rows in |
Value
The (modified) design matrix
[Package fMRItools version 0.4.7 Index]