File: margintable.R

package info (click to toggle)
r-cran-xtable 1%3A1.7-4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 612 kB
  • sloc: sh: 19; makefile: 1
file content (18 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
### R code from vignette source 'margintable.Rnw'

###################################################
### code chunk number 1: margintable.Rnw:52-55
###################################################
library(xtable)
x <- matrix(rnorm(6), ncol = 2)
x.small <- xtable(x, label = 'tabsmall', caption = 'A margin table')


###################################################
### code chunk number 2: margintable.Rnw:58-61
###################################################
print(x.small,floating.environment='margintable',
      latex.environments = "",
      table.placement = NULL)