show_code_filter {multitool}R Documentation

Show multiverse data code pipelines

Description

Each show_code* function should be self-explanatory - they indicate where along the multiverse pipeline to extract code. The goal of these functions is to create a window into each multiverse decision set context/results and allow the user to inspect specific decisions straight from the code that produced it.

Usage

show_code_filter(.grid, decision_num, copy = FALSE)

show_code_preprocess(.grid, decision_num, copy = FALSE)

show_code_model(.grid, decision_num, copy = FALSE)

show_code_postprocess(.grid, decision_num, copy = FALSE)

show_code_summary_stats(.grid, decision_num, copy = FALSE)

show_code_corrs(.grid, decision_num, copy = FALSE)

show_code_reliabilities(.grid, decision_num, copy = FALSE)

Arguments

.grid

a full decision grid created by expand_decisions.

decision_num

numeric. Indicates which 'universe' in the multiverse to show underlying code.

copy

logical. Whether to copy the pipeline code to the clipboard using write_clip. Defaults to FALSE.

Value

the code that generated results up to the specified point in an analysis pipeline. The code is printed in the console and can be optionally copied to the clipboard.

Functions


[Package multitool version 0.1.4 Index]