p_set | R Documentation |
This is unlikely to be useful to an end user and is called automatically by many of the other functions here. On the off chance you need to copy history metadata from one dataframe to another
p_set(.data, .graph)
.data |
a dataframe which may be grouped |
.graph |
a history graph list (consisting of nodes, edges, and head) see examples |
the .data dataframe with the history graph metadata set to the provided value
library(dplyr)
library(dtrackr)
mtcars %>% p_set(iris %>% comment("A comment") %>% p_get()) %>% history()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.