trajectoriesPolyFeatures {FRESA.CAD} | R Documentation |
Extract the per patient polynomial Coefficients of a feature trayectory
Description
Given a longituinal data set, it will extract the associated polynomial coefficients for each sample.
Usage
trajectoriesPolyFeatures(data,
feature="v1",
degree=2,
time="t",
group="ID",
timeOffset=0,
strata=NULL,
plot=TRUE,
...)
Arguments
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 |
Value
coef |
The trayaectory coefficient matrix |
Author(s)
Jose G. Tamez-Pena
[Package FRESA.CAD version 3.4.8 Index]