Description Usage Arguments Value Examples
apply a function to each of a list of variables
1 | forvar(varlist, action, macro = "%var")
|
varlist |
a list of variables in the format "var1 var2 var3" (or, if a single variable, it may be unquoted). |
action |
a quoted expression (must be quoted) to apply to each variable where the variable is represented in the expression by |
macro |
an expression that will be replaced in |
returns NULL, invisibly
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.