Copy the dtrackr history graph from one dataframe to another

p_copy(.data, from)

Arguments

.data

a dataframe which may be grouped

from

the dataframe to copy the history graph from

Value

the .data dataframe with the history graph of "from"

Examples

mtcars %>% p_copy(iris %>% comment("A comment")) %>% history()
#> dtrackr history:
#> number of flowchart steps: 1 (approx)
#> tags defined: <none>
#> items excluded so far: <not capturing exclusions>
#> last entry / entries:
#> └ "A comment"