| enframe {mlr3misc} | R Documentation |
Returns a data.table::data.table() with two columns:
The names of x (or seq_along(x) if unnamed) and the values of x.
enframe(x, name = "name", value = "value")
x |
( |
name |
( |
value |
( |
x = 1:3 enframe(x) x = set_names(1:3, letters[1:3]) enframe(x, value = "x_values")