powered by
Flatten nested chronicle objects
flatten_record(.c)
Returns `.c` where value is the actual value, and logs are concatenated.
A nested chronicle object, where the $value element is itself a chronicle object
r_sqrt <- record(sqrt) r_log <- record(log) a <- as_chronicle(r_log(10)) a flatten_record(a)
Run the code above in your browser using DataLab