validate_design_mat {fMRItools} | R Documentation |
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.
validate_design_mat(design, T_ = NULL)
design |
The design matrix |
T_ |
the expected number of rows in |
The (modified) design matrix