Learn R Programming

TukeyC (version 1.3-43)

xtable.TukeyC: xtable method for TukeyC objects.

Description

Convert an TukeyC object to an xtable.TukeyC object, which can then be printed as a LaTeX or HTML table. This function is an additional method to xtable function of xtable package.

Usage

# S3 method for TukeyC
xtable(x, ...)

Value

For most xtable methods, an object of class "xtable.TukeyC", "xtable" which inherits the data.frame class and contains several additional attributes specifying the table formatting options.

Arguments

x

A given object of the class TukeyC.

...

Further arguments (require by xtable::xtable).

Author

Jose Claudio Faria (joseclaudio.faria@gmail.com)
Enio G. Jelihovschi (eniojelihovs@gmail.com)
Ivan Bezerra Allaman (ivanalaman@gmail.com)

See Also

Examples

Run this code
data(RCBD) 
# \donttest{
  if(require(xtable)){
    lm1 <- with(RCBD,
                  lm(y ~ blk + tra,
                       data=dfm))

    tk1 <-  TukeyC(lm1,
                   which='tra')
    tb <- xtable(tk1)
    print(tb)
  }
 # } 

Run the code above in your browser using DataLab