lang2calls | R Documentation |
Converts language object or lists of language objects to list of simple calls.
lang2calls(x)
x |
|
Given a call
, an expression
, a list of call
s or a list of expression
s, returns a list of calls
.
Symbols and atomic vectors (which may get mixed up in a list) are returned wrapped in list.
# use non-exported function from teal.code
lang2calls <- getFromNamespace("lang2calls", "teal.code")
expr <- expression(
i <- iris,
m <- mtcars
)
lang2calls(expr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.