propose_column_widths {formatters} | R Documentation |
Propose column widths based on the MatrixPrintForm
of an object
Description
Row names are also considered a column for the output.
Usage
propose_column_widths(x, indent_size = 2, fontspec = font_spec())
Arguments
x |
( |
indent_size |
( |
fontspec |
( |
Value
A vector of column widths based on the content of x
for use in printing and pagination.
Examples
mf <- basic_matrix_form(mtcars)
propose_column_widths(mf)
[Package formatters version 0.5.8 Index]