prep_data: Prepare data

Description Usage Arguments Value

Description

Internal function to make functional data out of the raw input data.frame.

Usage

1
prep_data(df, nbas, lambda, deriv)

Arguments

df

[data.frame] with columns "data", "time", "group" and "id".

nbas

[integer] number of basis functions to use.

deriv

[integer] number of derivative to analyse.

Value

[list] With components "func1" and "func2" corresponding to the functional data for the to groups to be compared. Both objects are of class "fd".


erdto/TPDT documentation built on May 16, 2019, 8:24 a.m.