R/xtable.methods.R

Defines functions xtable.topTableGlmnet xtable.pamClassConfusionTable xtable.topTablePam xtable.topTableRfClass

Documented in xtable.pamClassConfusionTable xtable.topTableGlmnet xtable.topTablePam

xtable.topTableGlmnet <- function(x, caption = NULL, label = NULL, align = NULL, 
    digits = NULL, display = NULL, ...){
  
  xtable:::xtable.data.frame(x$topList, caption = caption, label = label, align = align,
      digits = digits, display = display, ...)
}

xtable.pamClassConfusionTable <- function(x, caption = NULL, label = NULL, align = NULL, 
    digits = NULL, display = NULL, ...){
  
  # TODO: some preprocessing
  xtable:::xtable.matrix(x, caption = caption, label = label, align = align,
      digits = digits, display = display, ...)
}

xtable.topTablePam <- function(x, ...){
  xtable(x$topList, ...)
}

xtable.topTableRfClass <- function(x, caption = NULL, label = NULL, align = NULL, digits = NULL, 
    display = NULL, ...){
  xtable(x$topList, ...)
}

Try the a4Reporting package in your browser

Any scripts or data that you put into this service are public.

a4Reporting documentation built on May 2, 2019, 4:54 p.m.