Learn R Programming

chronicler (version 0.2.2)

pick: Retrieve an element from a chronicle object.

Description

Retrieve an element from a chronicle object.

Usage

pick(.c, .e)

Value

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

Arguments

.c

A chronicle object.

.e

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

Examples

Run this code
r_sqrt <- record(sqrt)
r_exp <- record(exp)
3 |> r_sqrt() %>=% r_exp() |> pick("value")

Run the code above in your browser using DataLab