Learn R Programming

gMWT (version 1.4)

plot.re: Plot an re Object

Description

Plots an re object returned from the function getSigTests.

Usage

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

Value

A plot from a re object

Arguments

x

Object of class re.

...

Additional parameters.

Author

Daniel Fischer

Details

This function plots a rejection plot for an existing re object.

See Also

getSigTests

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)
  
  plot(re1)

Run the code above in your browser using DataLab