StyledTable-styled_table-method: Create a StyledTable object

styled_tableR Documentation

Create a StyledTable object

Description

This function creates a StyledTable object from a single data.frame or multiple data.frames or other StyledTable objects. If multiple StyledTable objects or data.frames are supplied, then they are concatenated vertically. Therefore, all supplied data.frames and StyledTable objects must have the same number of columns.

Usage

styled_table(..., keep_header = FALSE, nrow = NULL)

## S4 method for signature 'ANY'
styled_table(..., keep_header = FALSE, nrow = NULL)

Arguments

...

Multiple matrices, data.frames or StyledTable objects that should be concatenated

keep_header

(optional) A logical flag, if the column names of passed data.frame should be written in the first line of the resulting StyledTable object object.

nrow

(optional) If the passed object is an atomic vector, then the it can be transformed into a matrix() by defining the number of rows it should be split into.

Value

A StyledTable object object


R-package/styledTables documentation built on Feb. 6, 2024, 2:21 a.m.