Description Usage Arguments Value
This function allows to write in a shorter form the evaluation of a vector of characters.
1 2 3 4 5 6 | evaltext(
...,
envir = parent.frame(),
enclos = if (is.list(envir) || is.pairlist(envir)) parent.frame() else baseenv(),
sep = ""
)
|
... |
character strings holding the code to be evaluated |
envir |
the environment in which expr is to be evaluated. May also be NULL, a list, a data frame, a pairlist or an integer as specified to sys.call. |
enclos |
Relevant when envir is a (pair)list or a data frame. Specifies the enclosure, i.e., where R looks for objects not found in envir. This can be NULL (interpreted as the base package environment, baseenv()) or an environment. |
sep |
separator character to be used as in the |
The result of evaluating the object: for an expression vector this is the result of evaluating the last element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.