Skip to contents

Reorder the subjects in a data_list

Usage

reorder_dl_subs(data_list, ordered_subjects)

Arguments

data_list

A nested list of input data from generate_data_list().

ordered_subjects

A vector of the subjectkey values in the data_list in the desired order of the sorted data_list.

Value

A data list ("list"-class object) with reordered observations.