saveTable: Save a table.

Description Usage Arguments Details Value Examples

Description

Saves a table either in rtf-format (recommended) or in HTML-format.

Usage

1
saveTable(x, file, HTML = FALSE)

Arguments

x

data.frame as generated by the different xTable functions in this package (for example by the mokkenTable function).

file

string; filename the table should be saved as.

HTML

logical value that toggles whether the file format should be HTML.

Details

Currently the text in the .rtf-Format is set to an 8-point size to accommodate the sometimes large tables.

Value

None

Examples

1
2
3
4
5
data(myData)
test <- demographicTable(myData$sex, myData$age_group7, percent=FALSE)
test

#saveTable(test, "test.rtf")

psytabs documentation built on May 2, 2019, 5:27 p.m.