Learn R Programming

chronicler (version 0.2.2)

check_g: Check the output of the .g function

Description

Check the output of the .g function

Usage

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

Value

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

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.

Examples

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

Run the code above in your browser using DataLab