Used in h_df_bw_calc()
to determine whether a variable
differs only between subjects or also within subjects.
h_within_or_between(x_matrix, subject_ids)
Character vector with "intercept", "within" or "between" for each design matrix column identified via the names of the vector.
(matrix
)
the design matrix with column names.
(factor
)
the subject IDs.