Learn R Programming

toastui (version 0.4.0)

guess_colwidths_options: Options for guessing columns widths

Description

Options for guessing columns widths

Usage

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

Value

a list of options to use in datagrid().

Arguments

min_width

Minimal width.

max_width

Maximal width.

mul

Multiplicative constant.

add

Additive constant

Examples

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

Run the code above in your browser using DataLab