xtp_atwb: print as xtable and add to workbook

View source: R/io.R

xtp_atwbR Documentation

print as xtable and add to workbook

Description

print as xtable and add to workbook

Usage

xtp_atwb(
  x,
  wb = NULL,
  sheet = "",
  label = "",
  caption = "",
  xtable_par = list(digits = 3, align = NULL),
  print_xtable_par = list(include.rownames = !is.data.frame(x), hline.after = c(-1, 0,
    nrow(x)), caption.placement = "top"),
  add_to_wb_par = list(rowNames = !is.data.frame(x))
)

Arguments

x

the object

wb

add_to_wb workbook name

sheet

add_to_wb sheet name

label

xtable::xtable label

caption

xtable::xtable caption

xtable_par

xtable::xtable further parameters

print_xtable_par

xtable::print.xtable further parameters

add_to_wb_par

add_to_wb further parameters

Examples

## Not run: 
xtp_atwb(Indometh,
         wb = wb, sheet = 'Indometh', label = 'tab:indometh',
         caption = 'Indometh dataset')

## End(Not run)

lbraglia/lbmisc documentation built on March 28, 2024, 10:03 a.m.