Description Usage Arguments Value Examples
This generates and returns the full provenance graph reflecting the information stored in the cache or data.frame specified. This can include the same variable multiple times if the corresponding expression is run with different inputs.
1 2 3 4 5 6 7 | fullprovgraph(provstore)
## S4 method for signature 'ProvStoreDF'
fullprovgraph(provstore)
## S4 method for signature 'data.frame'
fullprovgraph(provstore)
|
provstore |
The provenance store data to use when generating the graph |
an igraph object representing the provenance graph
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | library(fastdigest)
code = c("x = 5", "y = x + 1")
outvars = c("x", "y")
outvarhashes = c(fastdigest(5), fastdigest(6))
outvarclasses = rep("numeric", 2)
invars = c("", "x")
invarhashes = c("", fastdigest(5))
invarclasses = c("", "numeric")
ps = ProvStoreDF(outvars = outvars,
outvarhashes = outvarhashes,
outvarclasses = outvarclasses,
invars = invars,
invarhashes = invarhashes,
invarclasses = invarclasses,
code = code,
agent = "coolguyorgirl")
plot(fullprovgraph(ps))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.