check_g {chronicler} | R Documentation |
Check the output of the .g function
check_g(.c, columns = c("ops_number", "function"))
.c |
A chronicle object. |
columns |
Columns to select for the output. Defaults to c("ops_number", "function"). |
'.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.
A data.frame with the selected columns and column "g".
r_subset <- record(subset, .g = dim)
result <- r_subset(mtcars, select = am)
check_g(result)