View source: R/xtable.TukeyC.R
xtable.TukeyC | R Documentation |
TukeyC
objects.
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.
## S3 method for class 'TukeyC'
xtable(x, ...)
x |
A given object of the class |
... |
Further arguments (require by xtable::xtable). |
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.
Jose Claudio Faria (joseclaudio.faria@gmail.com)
Enio G. Jelihovschi (eniojelihovs@gmail.com)
Ivan Bezerra Allaman (ivanalaman@gmail.com)
xtable
data(RCBD)
if(require(xtable)){
lm1 <- with(RCBD,
lm(y ~ blk + tra,
data=dfm))
tk1 <- TukeyC(lm1,
which='tra')
tb <- xtable(tk1)
print(tb)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.