.print.data.frame | R Documentation |
Custom print method for objects of type data.frame
. This function prints the data-frame in the same way
as the default print.data.frame in the base package, except that it allows the user to add textual column/row separators in the
print output in specified positions. To do this the user adds row/column values for the inputs row.separator
and col.separator
indicating that separators should be added after those rows/columns. The user can also
set sep.extend
to TRUE
to extend the separators into the row/column-names.
.print.data.frame( x, ..., row.separator = NULL, col.separator = NULL, sep.extend = FALSE, print.gap = 1, digits = NULL, quote = FALSE, right = TRUE, row.names = TRUE, max = NULL )
x |
A data-frame (object of class |
... |
optional arguments to |
row.separator |
A vector of values of rows (adds separators after those rows) |
col.separator |
A vector of values of columns (adds separators after those columns) |
sep.extend |
Logical value; if |
print.gap |
A non-negative integer specifyig the number of spaces between columns |
digits |
the minimum number of significant digits to be used: see |
quote |
Logical value; if |
right |
Logical value; if |
row.names |
Logical value or character vector; indicating whether (or what) row names are printed |
max |
numeric or |
Prints the data frame with the specified column/row separators
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.