evalPar | R Documentation |
Return a list of of parameters that changed, and change the corresponding value in the global environment.
evalPar(..., .prm = NULL, envir = parent.frame(), returnValue = TRUE)
... |
these arguments are of the form tag = value. |
.prm |
named list of arguments to use |
envir |
the environment in where parameters are to be evaluated. |
Returns a list of parameters that have been changed.
{
## Not run:
evalPar(a = list(x = c(1,2,5), y = 3:5),
c = NULL, e = numeric())
# use .prm argument
tmp = list(a = list(x = c(1,2,5), y = 3:5))
evalPar(.prm = list(prm0 = tmp, a = 1, c = NULL,
e = numeric(), e2 = 1:3))
## End(Not run)}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.