flatten_record {chronicler} | R Documentation |
Flatten nested chronicle objects
flatten_record(.c)
.c |
A nested chronicle object, where the $value element is itself a chronicle object |
Returns '.c' where value is the actual value, and logs are concatenated.
r_sqrt <- record(sqrt)
r_log <- record(log)
a <- as_chronicle(r_log(10))
a
flatten_record(a)