Render a data.frame in build_frame format.

draw_frame(x, ..., time_format = "%Y-%m-%d %H:%M:%S",
  formatC_options = list())

Arguments

x

data.frame (atomic types, with at least 1 row and 1 column).

...

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

time_format

character, format for "POSIXt" classes.

formatC_options

named list, options for formatC()- used on numerics.

Value

chracter

See also

Examples

tc_name <- "training" x <- build_frame( "measure" , tc_name, "validation", "idx" | "minus binary cross entropy", 5 , 7 , 1L | "accuracy" , 0.8 , 0.6 , 2L ) print(x)
#> measure training validation idx #> 1 minus binary cross entropy 5.0 7.0 1 #> 2 accuracy 0.8 0.6 2
cat(draw_frame(x))
#> wrapr::build_frame( #> 'measure' , 'training', 'validation', 'idx' | #> 'minus binary cross entropy', 5 , 7 , 1L | #> 'accuracy' , 0.8 , 0.6 , 2L )