Turn vector inputs to the list so they can be used in FPCA
MakeFPCAInputs(
IDs = NULL,
tVec,
yVec,
na.rm = FALSE,
sort = FALSE,
deduplicate = FALSE
)
L list containing 3 lists each of length 'm', 'm' being the number of unique subject IDs
np-by-1 vector of subject IDs (Default: NULL)
Either an np-by-1 vector of measurement times, or a p-by-1 vector corresponding to the common time support
n-by-1 vector of measurements from the variable of interest, or a n-by-p matrix with each row corresponding to the dense observations.
logical indicating if NA should be omitted (Default: FALSE)
logical indicating if Lt (and the correspoding Ly values) should be ensured to be sorted (Default: FALSE)
logical indicating if the Lt should be ensured not to have within-subject duplicated values; the Ly values of repeated Lt values are averaged (Default: FALSE)