Given a longituinal data set, it will extract the associated polynomial coefficients for each sample.
trajectoriesPolyFeatures(data,
feature="v1",
degree=2,
time="t",
group="ID",
timeOffset=0,
strata=NULL,
plot=TRUE,
...)
The dataframe
The name of the outcome
The fitting function used to model the data
The percentage of the data to be used for training
The number of times that the CV process will be repeated
The time offset
Data strafication
if TRUE it will plot the data
parameters passed to plot
The trayaectory coefficient matrix