Skip to contents

Retrieve an element from a chronicle object.

Retrieve an element from a chronicle object.

Usage

pick(.c, .e)

pick(.c, .e)

Arguments

.c

A chronicle object.

.e

Element of interest to retrieve, one of "value" or "log_df".

Value

The value or log_df element of the chronicle object .c.

The value or log_df element of the chronicle object .c.

Examples

r_sqrt <- record(sqrt)
r_exp <- record(exp)
3 |> r_sqrt() %>=% r_exp() |> pick("value")
#> [1] 5.652234
r_sqrt <- record(sqrt)
r_exp <- record(exp)
3 |> r_sqrt() %>=% r_exp() |> pick("value")
#> [1] 5.652234