Learn R Programming

fdANOVA (version 0.1.2)

print.fanovatests: Print "fanovatests" object

Description

Prints the brief summary of the FANOVA tests.

Usage

# S3 method for fanovatests
print(x, …)

Arguments

x

an "fanovatests" object.

...

additional arguments not used.

Details

The function prints out the values of test statistics and p-values of the FANOVA tests performed by the fanova.tests function.

See Also

fanova.tests, summary.fanovatests

Examples

Run this code
# NOT RUN {
# This example may run some time.

# gait data (the first feature)
library(fda)
gait.data.frame <- as.data.frame(gait)
x.gait <- as.matrix(gait.data.frame[, 1:39])

# vector of group labels
group.label.gait <- rep(1:3, each = 13)
# }
# NOT RUN {
# all FANOVA tests with default parameters
set.seed(123)
fanova1 <- fanova.tests(x.gait, group.label.gait)
print(fanova1)
# }

Run the code above in your browser using DataLab