DescTools (version 0.99.14)

WrdTable: Produces a Table in Word

Description

Creates a table in MS-Word.

Usage

WrdTable(tab, main = NULL, wrd = getOption("lastWord"), row.names = FALSE, ...)

## S3 method for class 'Freq':
WrdTable(tab, main = NULL, wrd = getOption("lastWord"), row.names = FALSE, ...)

## S3 method for class 'ftable':
WrdTable(tab, main = NULL, wrd = getOption("lastWord"), row.names = FALSE, ...)

## S3 method for class 'default':
WrdTable(tab, main = NULL, wrd = getOption("lastWord"), row.names = FALSE, 
         fmt = NULL, fontsize = NULL,...)

Arguments

tab
the table to be transferred to Word.
main
a caption for the plot. This will be inserted by InserCaption in Word. Default is NULL, which will insert nothing.
wrd
the pointer to a word instance. Can be a new one, created by GetNewWrd() or an existing one, created by GetCurrWrd(). Default is the last created pointer stored in getOption("lastWord").
row.names
logical, defining whether rownames should be included in the output or not. Default is FALSE.
fmt
format string for the table giving the alignment in the columns. l means left, r right and c center alignement. The format code will be recyled.
fontsize
the fontsize of the table
...
further arguments to be passed to or from methods.

Details

A tricky problem, still unsolved... This is experimental code.

See Also

GetNewWrd