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(),
round_type = c("iec", "sas")
)
Arguments
x |
( |
indent_size |
( |
fontspec |
( |
round_type |
( |
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.11 Index]