Combine the LEiDA eigenvector matrices from a list of dynR_leida results
into a single matrix (or data frame) ready for cross-subject K-means
clustering.
Arguments
- batch_result
Named list of
dynR_leidaobjects, as returned bybatch_leida().- add_subject_id
Logical. Prepend a
subjectcolumn with the subject name? DefaultTRUE.
Value
If add_subject_id = TRUE: a data frame with columns subject and
one column per parcel (named V1, V2, ...).
If FALSE: a plain numeric matrix [total_timepoints x N].