qchar_frame | R Documentation |
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 infix operators are aliases for ","). Names are treated as character types.
qchar_frame(...)
... |
cell names, first infix operator denotes end of header row of column names. |
qchar_frame() uses bquote() .() quasiquotation escaping notation. Because of this using dot as a name in some places may fail if the dot looks like a function call.
character data.frame
draw_frame
, build_frame
loss_name <- "loss"
x <- qchar_frame(
measure, training, validation |
"minus binary cross entropy", .(loss_name), val_loss |
accuracy, acc, val_acc )
print(x)
str(x)
cat(draw_frame(x))
qchar_frame(
x |
1 |
2 ) %.>% str(.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.