14 lines
474 B
R
Raw Normal View History

2025-01-12 00:52:51 +08:00
## ----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)