as_chronicle: Coerce an object to a chronicle object.

View source: R/chronicle.R

as_chronicleR Documentation

Coerce an object to a chronicle object.

Description

Coerce an object to a chronicle object.

Usage

as_chronicle(.x, .log_df = data.frame())

Arguments

.x

Any object.

.log_df

Used internally, the user does need to interact with it. Defaults to an empty data frame.

Value

Returns a chronicle object with the object as the $value.

Examples

as_chronicle(3)

chronicler documentation built on June 22, 2024, 11:30 a.m.