fmap_record {chronicler} | R Documentation |
Evaluate a non-chronicle function on a chronicle object.
Description
Evaluate a non-chronicle function on a chronicle object.
Usage
fmap_record(.c, .f, ...)
Arguments
.c |
A chronicle object. |
.f |
A non-chronicle function. |
... |
Further parameters to pass to '.f'. |
Value
Returns the result of '.f(.c$value)' as a new chronicle object.
Examples
as_chronicle(3) |> fmap_record(sqrt)
[Package chronicler version 0.2.2 Index]