draw_framec: Render a simple data.frame in qchar_frame format.

Description Usage Arguments Value See Also Examples

View source: R/cf.R

Description

Render a simple data.frame in qchar_frame format.

Usage

1
draw_framec(x, ..., unquote_cols = character(0), adjust_for_auto_indent = 2)

Arguments

x

data.frame (with character types).

...

not used for values, forces later arguments to bind by name.

unquote_cols

character, columns to elide quotes from.

adjust_for_auto_indent

integer additional after first row padding.

Value

character

See Also

build_frame, qchar_frame

Examples

1
2
3
4
5
controlTable <- wrapr::qchar_frame(
  "flower_part", "Length"     , "Width"     |
    "Petal"    , Petal.Length , Petal.Width |
    "Sepal"    , Sepal.Length , Sepal.Width )
cat(draw_framec(controlTable, unquote_cols = qc(Length, Width)))

WinVector/wrapr documentation built on Nov. 21, 2020, 8:31 p.m.