View source: R/timeSerieAnalysis.R
trajectoriesPolyFeatures | R Documentation |
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,
...)
data |
The dataframe |
feature |
The name of the outcome |
degree |
The fitting function used to model the data |
time |
The percentage of the data to be used for training |
group |
The number of times that the CV process will be repeated |
timeOffset |
The time offset |
strata |
Data strafication |
plot |
if TRUE it will plot the data |
... |
parameters passed to plot |
coef |
The trayaectory coefficient matrix |
Jose G. Tamez-Pena
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.