Learn R Programming

FarmTest (version 1.0.3)

print.farm.test: Summarize and print the results of the multiple testing

Description

Print method for farm.test objects

Usage

# S3 method for farm.test
print(x, ...)

Arguments

x

A farm.test object.

Further arguments passed to or from other methods.

Value

A list with the following items:

means

estimated means

stderr

estimated standard errors

pvalue

unadjusted p values

rejected

the indices of rejected hypotheses, along with their corresponding p values, and adjusted p values, ordered from most significant to least significant

alldata

all the indices of the tested hypotheses, along with their corresponding p values, adjusted p values, and a column with 1 if declared siginificant and 0 if not

loadings

estimated factor loadings

nfactors

number of (estimated) factors

n

number of observations

p

number of dimensions

alpha

level at which FDR was controlled

H0

null hypothesis

alternative

alternate hypothesis

robust

whether robust parameters were used

type

whether the test is one or two-sided

significant

the number of means that are found significant

See Also

farm.test

Examples

Run this code
# NOT RUN {
set.seed(100)
p = 50
n = 100
X = matrix(rnorm( p*n, 0,1), nrow = n)
output = farm.test(X)
output
names(output)
# }

Run the code above in your browser using DataLab