Learn R Programming

wrapr (version 1.4.0)

qchar_frame: Build a (non-empty) quoted data.frame.

Description

A convenient way to build a character data.frame in legible transposed form. Position of first "|" (or other infix operator) determines number of columns (all other infic operators are aliases for ","). Names are treated as character types.

Usage

qchar_frame(...)

Arguments

...

cell names, first infix operator denotes end of header row of column names.

Value

character data.frame

See Also

draw_frame, build_frame

Examples

Run this code
# NOT RUN {
x <- qchar_frame(
   measure,                      training, validation |
   "minus binary cross entropy", loss,     val_loss   |
   accuracy,                     acc,      val_acc    )
print(x)
str(x)
cat(draw_frame(x))

qchar_frame(
  x |
  1 |
  2 )

# }

Run the code above in your browser using DataLab