Learn R Programming

TukeyC (version 1.3-4)

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

See Also

xtable

Examples

Run this code
# NOT RUN {
data(RCBD) 
# }
# NOT RUN {
  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