Generate a regressor from a numeric vector.

gen_numeric_reg(
  in_vec,
  name,
  mrs_data = NULL,
  tr = NULL,
  Ndyns = NULL,
  Ntrans = NULL
)

Arguments

in_vec

a numeric input vector the same length as the number of stored dynamic scans.

name

a character vector representing the regressor name.

mrs_data

mrs_data object for timing information.

tr

repetition time.

Ndyns

number of dynamic scans stored, potentially less than Ntrans if block averaging has been performed.

Ntrans

number of dynamic scans acquired.

Value

a single baseline regressor with value of 1.