inst/doc/margintable.R

## ----include=FALSE----------------------------------------
library(knitr)

## ---------------------------------------------------------
library(xtable)
x <- matrix(rnorm(6), ncol = 2)
x.small <- xtable(x, label = 'tabsmall', caption = 'A margin table')

## ----results='asis'---------------------------------------
print(x.small,floating.environment='margintable',
      latex.environments = "",
      table.placement = NULL)

Try the xtable package in your browser

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

xtable documentation built on June 15, 2020, 3 p.m.