trajectoriesPolyFeatures: Extract the per patient polynomial Coefficients of a feature...

Description Usage Arguments Value Author(s)

View source: R/timeSerieAnalysis.R

Description

Given a longituinal data set, it will extract the associated polynomial coefficients for each sample.

Usage

1
2
3
4
5
6
7
8
9
	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


FRESA.CAD documentation built on Jan. 13, 2021, 3:39 p.m.