File: margintable.R

package info (click to toggle)
r-cran-xtable 1%3A1.8-2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,060 kB
  • sloc: sh: 19; makefile: 1
file content (13 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
## ----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)