Learn R Programming

TukeyC (version 1.3-42)

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, ...)

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

xtable

Examples

Run this code
data(RCBD) 
if (FALSE) {
  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