Description Usage Arguments Value Examples
This function will return either the lines that led up to a variable's creation or the other variables that the chosen variable was used to create
1 | debug.lineage(..., forward = F)
|
... |
Variables to find the lineage for. Can be single elements or vectors/lists. |
forward |
Determines whether to look for lineage forward in the script or backward |
Returns one of two things. If no parameters were passed to the function then a vector of possible variables will be returned. If variables were passed to the function then a list of data frames is returned. Each data frame corresponds to one of the variables. The names of the list will correspond to the variable passed
1 2 3 4 5 6 7 8 | ## Not run:
debug.init("example.R")
debug.lineage("x")
l <- c("x", "y", "foo", "bar")
debug.lineage(l)
debug.lineage(l, "z")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.