Description Usage Arguments Details Author(s) Examples
Make a Word table to the adequate dimensions, fill it, format it, and add a bookmark (and a caption - doesn't work yet).
1 |
data |
a data frame or an array |
caption |
the caption to use in Word |
caption.pos |
the caption position "below" or "above" |
bookmark |
the bookmark to use in Word |
pointsize |
the pointsize in Word |
padding |
how much cell-padding (in points) |
autoformat |
which of the Word autoformats to use (try 1, 2, 3) |
row.names |
whether row names should be printed (default=TRUE) |
align |
alignment instruction. Default: c("l",rep("r",ncol(data))): align first column left and the others right. "c" stands for centering. The character "|" can be inserted where the user wishes a vertical line to be drawn. |
hlines |
a character vector of length nrow(data)+1 containing "b","t","bt",or "n" to indicate whether a horizontal line should be drawn below, on top, or both. "n" means none. |
wdapp |
the handle to the Word Application (usually not needed). |
Creates a Word table to the adequate dimensions and inserts it between two paragraph breaks. Fills it with dataframe or array (using the clipboard). Creates a bookmark and adds a caption. Uses word autoformating and aligns columns according to user input.
Christian Ritter
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.