printXTable

Description

print data table using xtable R package

Usage

1
2
printXTable(data, selectedColumns, tableType = "latex", alignCells, digits,
  caption, label, fontSize, captionPlacement = "bottom", alignHeader)

Arguments

data

Data structure including columns to be printed.

selectedColumns

Columns selected to be printed.

tableType

Type of table to produce. Possible values are "latex" or "html". Default value is "latex".

alignCells

Defines how to align data cells.

digits

Defines the number of decimal points in each column.

caption

Caption of the table.

label

Label of the table.

fontSize

Size of the font used to produce a table.

captionPlacement

The caption will be have placed at the bottom of the table if captionPlacement is "bottom" and at the top of the table if it equals "top". Default value is "bottom".

alignHeader

Defines how to align column headers of a table.

Value

A table generated on the fly on a basis of passed data (data, selectedColumns etc.).

Author(s)

Lech Madeyski

Examples

1
2
d <- reproducer::MadeyskiKitchenham.MetaAnalysis.PBRvsCBRorAR
reproducer::printXTable(d, '"Study"', "latex", '"cc"', 0, "C", "L", "tiny", "top", "l")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.