Using log_row_to_run()
creates a metric with multiple columns
as described in ...
. Each named parameter generates a column
with the value specified. log_row_to_run()
can be called once
to log an arbitrary tuple, or multiple times in a loop to generate
a complete table.
log_row_to_run(name, description = "", run = NULL, ...)
name | A string of the name of metric. |
---|---|
description | (Optional) A string of the metric description. |
run | The |
... | Each named parameter generates a column with the value specified. |
None
Log an arbitrary tuple:
log_row_to_run("Y over X", x = 1, y = 0.4)
Log the complete table:
citrus <- c("orange", "lemon", "lime") sizes <- c(10, 7, 3) for (i in seq_along(citrus)) { log_row_to_run("citrus", fruit = citrus[i], size = sizes[i]) }