Skip to contents

Cached. Takes a "raw" trajectory object and samples values according to sampling strategy. Assumes the first coordinate in the traj object is day of ICU discharge.

Usage

construct_final_trajectories(traj, t_icu_discharge, sampling_frequency)

Arguments

traj

matrix, x = time and y = HRQoL

t_icu_discharge

scalar, time of ICU discharge

sampling_frequency

integer (single value or named vector), span between HRQoL sampling from patients

Value

A three-element list with trajectories for each of the three assumptions as to when sampling can start.