Learn R Programming

chronicler (version 0.2.2)

flatten_record: Flatten nested chronicle objects

Description

Flatten nested chronicle objects

Usage

flatten_record(.c)

Value

Returns `.c` where value is the actual value, and logs are concatenated.

Arguments

.c

A nested chronicle object, where the $value element is itself a chronicle object

Examples

Run this code
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