check_g {chronicler}R Documentation

Check the output of the .g function

Description

Check the output of the .g function

Usage

check_g(.c, columns = c("ops_number", "function"))

Arguments

.c

A chronicle object.

columns

Columns to select for the output. Defaults to c("ops_number", "function").

Details

'.g' is an option argument to the 'record()' function. Providing this optional function allows you, at each step of a pipeline, to monitor interesting characteristics of the ‘value' object. See the package’s Readme file for an example with data frames.

Value

A data.frame with the selected columns and column "g".

Examples

r_subset <- record(subset, .g = dim)
result <- r_subset(mtcars, select = am)
check_g(result)

[Package chronicler version 0.2.2 Index]