h_within_or_between {mmrm} | R Documentation |
Determine Within or Between for each Design Matrix Column
Description
Used in h_df_bw_calc()
to determine whether a variable
differs only between subjects or also within subjects.
Usage
h_within_or_between(x_matrix, subject_ids)
Arguments
x_matrix |
( |
subject_ids |
( |
Value
Character vector with "intercept", "within" or "between" for each design matrix column identified via the names of the vector.
[Package mmrm version 0.3.15 Index]