Skip to contents

Flattens the whole cohort into one tidy data.frame with a row per (subject, session): subject_id, any subject-level colData (e.g. group), and the session's session_id, visit_label, days_from_baseline and condition. This is the iteration unit for pipelines, longitudinal models and trial analyses.

Usage

cohortDesign(x)

Arguments

x

A PhysioCohort.

Value

A data.frame, one row per subject-session.