Description Usage Arguments Value Examples
This function show how a variable's type has changed throughout execution of a script
1 | debug.variable.type(..., just.logical = F)
|
... |
Variables to find the type for. Can be single elements or vectors/lists. |
just.logical |
Determines whether or not to display only if the variable has changed or what the actual values were throughout execution |
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.variable.type("x")
l <- c("x", "y", "foo", "bar")
debug.variable.type(l)
debug.variable.type(l, "z", just.logical = T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.