ITP2fourier
returns an object of class
"ITP2
".
An object of class "ITP2
" is a list containing at least the following components:
basisString vector indicating the basis used for the first phase of the algorithm. In this case equal to "Fourier"
.
testString vector indicating the type of test performed. in this case equal to "2pop"
.
muDifference between the first functional population and the second functional population under the null hypothesis (as entered by the user).
pairedLogical indicating whether the test is paired (as entered by the user).
coeffMatrix of dimensions c(n,p)
of the p
coefficients of the Fourier basis expansion. Rows are associated to units and columns to the basis index: the first n1
rows report the coefficients of the first population units and the following n2
rows report the coefficients of the second population units; the first column is a0, the following (p-1)/2
columns are the ak coefficients (sine coefficients) and the last (p-1)/2
columns the bk coefficients (cosine coefficients).
pvalUncorrected p-values for each frequency.
pval.matrixMatrix of dimensions c(p,p)
of the p-values of the multivariate tests. The element (i,j)
of matrix pval.matrix
contains the p-value of the joint NPC test of the frequencies (j,j+1,...,j+(p-i))
.
corrected.pvalCorrected p-values for each frequency.
labelsLabels indicating the population membership of each data.
data.evalEvaluation on a fine uniform grid of the functional data obtained through the basis expansion.
heatmap.matrixHeatmap matrix of p-values (used only for plots).