Render a simple data.frame in qchar_frame format.
draw_framec(x, ..., unquote_cols = character(0), adjust_for_auto_indent = 2)
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. |
character
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)))#> controlTable <- wrapr::qchar_frame( #> "flower_part" , "Length" , "Width" | #> "Petal" , Petal.Length, Petal.Width | #> "Sepal" , Sepal.Length, Sepal.Width )