Print attractive data frames in the consoleSource:
This function takes data frame input and prints to the console as an ASCII/markdown table for better readability.
A data frame or matrix.
The style, which can be one of the following: "multiline", "grid", "simple" (also "pandoc"), "rmarkdown" (also "markdown"). Default: "markdown"
How many digits to print for numbers. Default: 2
Should each number be printed with
digitsnumber of digits or only when there are at least that many significant digits? Default is TRUE, meaning only print
digitsnumber of significant digits.
if FALSE, row names are suppressed. A character vector of row names can also be specified here. By default, row names are included if rownames(t) is neither NULL nor identical to 1:nrow(x).
a character vector of column names to be used in the table
Column alignment: a character vector consisting of ‘'l'’ (left), ‘'c'’ (center) and/or ‘'r'’ (right). By default or if ‘align = NULL’, numeric columns are right-aligned, and other columns are left-aligned.