Description Usage Arguments Methods (by class) Examples
The package provides the necessary tools to compute a TPDT for a general dataset. The data required are paired, time-resloved observations. The output of the statistical test allows to decide whether there are significant differences between both groups and to quantify the impact of those differences. The package is extended by generic functions which may be applied on the computed test object and help visualize the test results. Additionally a function which allows to sample random curves around a given smooth curve and a cross validation function are presented to the user.
Main function to perform a TPDT for a given dataset.
1 2 3 4 5 6 7 8 9 |
data |
either a [data.frame] with columns named "data", "group", "time" and "id" analogously to
the use of |
group |
[numeric/factor] vector with grouping variable. A character vector will be converted in to numeric 1/2 internally. |
time |
[numeric] vector of time points, has to be the same order as data, group and id. |
id |
[numeric] vector of pairings. Each unique value of id should be present in both groups. |
deriv |
[integer] If 1, test is conducted on first derivative of functional data. If 2, tests second derivative and so on. |
lambda |
[numeric] Smoothing parameter to use, if known in advance. If NULL, it is computed by cross validation. |
ncores |
[integer] Number of CPUs to use for parallization. |
numeric
: Method for column wise input
data.frame
: Method for data.frame input
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.