Learn R Programming

gMWT (version 1.4)

print.re: Print an re Object

Description

Prints an re object.

Usage

# S3 method for re
print(x,...)

Value

Content of an re object

Arguments

x

Object of class re.

...

Additional parameters.

Author

Daniel Fischer

Details

The print function displays in a list the significant variables for a chosen alpha and the optimal alpha in terms of the best ratio between expected and observed significant tests. For more details see also rejectionPlot.

See Also

rejectionPlot

Examples

Run this code
  X <- matrix(c(rnorm(500,2,1),rnorm(600,2,1),rnorm(400,2.2,1)),byrow=TRUE, ncol=10)
  colnames(X) <- letters[1:10]
  g <- c(rep(1,50),rep(2,60),rep(3,40))

  test <- gmw(X,g,test="kw",type="external")

  re1 <- getSigTests(test)
  
  re1

Run the code above in your browser using DataLab