Pretty print a data frame
printdf(x, pad = 0, spacing = 1, ddSci.dp = NULL,
transpose = FALSE, justify = "right", colnames = TRUE,
rownames = TRUE, column.col = rtHighlight$bold, row.col = silver,
newline.pre = FALSE, newline = FALSE)
data frame
Integer: Pad output with this many spaces. Default = 2
Integer: Number of spaces between columns. Default = 1
Integer: Number of decimal places to print using ddSci. Default = NULL for no formatting
Logical: If TRUE, transpose x
before printing. Default = FALSE
String: "right", "left". Default = "right"
Logical: If TRUE, print column names. Default = TRUE
Logical: If TRUE, print row names. Default = TRUE
crayon
color for printing column names. Default = rtemis default highlight
crayon
color for printing row names. Default = silver
Logical: If TRUE, print a new line before printing data frame. Default = FALSE
Logical: If TRUE, print a new line after printing data frame. Default = FALSE
By design, numbers will not be justified, but using ddSci.dp will convert to characters, which will be justified. This is intentional for internal use.