print.fmanovaptbfr {fdANOVA}R Documentation

Print "fmanovaptbfr" object

Description

Prints the brief summary of the permutation tests based on a basis function representation for multivariate analysis of variance for functional data, i.e., the W, LH, P and R tests.

Usage

## S3 method for class 'fmanovaptbfr'
print(x, ...)

Arguments

x

an "fmanovaptbfr" object.

...

additional arguments not used.

Details

The function prints out the values of test statistics and p-values of the permutation tests based on a basis function representation for FMANOVA problem performed by the fmanova.ptbfr function.

Author(s)

Tomasz Gorecki, Lukasz Smaga

See Also

fmanova.ptbfr, summary.fmanovaptbfr

Examples

# gait data (both features)
library(fda)
gait.data.frame <- as.data.frame(gait)
x.gait <- vector("list", 2)
x.gait[[1]] <- as.matrix(gait.data.frame[, 1:39])
x.gait[[2]] <- as.matrix(gait.data.frame[, 40:78])

# vector of group labels
group.label.gait <- rep(1:3, each = 13)

# the tests based on a basis function representation with default parameters
set.seed(123)
fmanova1 <- fmanova.ptbfr(x.gait, group.label.gait)
print(fmanova1)

[Package fdANOVA version 0.1.2 Index]