Description Usage Arguments Value Examples
an rbind method for ProvStoreDF objects
1 2 3 4 |
... |
Two or more ProvStoreDF objects. Must all have identical hashprefix values |
deparse.level |
ignored. |
A ProvStoreDF object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | library(fastdigest)
library(roprov)
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")
df = data.frame(outputvar = outvars,
outputvarhash = outvarhashes,
outputvarclass = outvarclasses,
inputvar= invars,
inputvarhash = invarhashes,
inputvarclass = invarclasses,
agent = "coolgirloruy",
code = code,
codehash = sapply(code, fastdigest),
stringsAsFactors = FALSE)
ps2 = ProvStoreDF(df = df)
rbind(ps2, ps2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.