Skip to contents

Options for guessing columns widths

Usage

guess_colwidths_options(min_width = 70, max_width = 400, mul = 1, add = 0)

Arguments

min_width

Minimal width.

max_width

Maximal width.

mul

Multiplicative constant.

add

Additive constant

Value

a list of options to use in datagrid().

Examples

datagrid(rolling_stones_50, colwidths = "guess")
datagrid( rolling_stones_50, colwidths = "guess", guess_colwidths_opts= guess_colwidths_options(mul = 2) )