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

View source: R/cf.R

draw_framecR Documentation

Render a simple data.frame in qchar_frame format.

Description

Render a simple data.frame in qchar_frame format.

Usage

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


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)))



wrapr documentation built on Aug. 20, 2023, 1:08 a.m.