expandEdits {editrules} | R Documentation |
Expand an edit expression
Description
Often many numeric variables have the same constraints. expandEdits
is
a utility function to define edits for multiple variables. See the examples for the syntax.
Usage
expandEdits(
s,
prefix = "_",
useSum = TRUE,
asExpression = is.language(s),
env = parent.frame(),
...
)
Arguments
s |
edit expression, can be a |
prefix |
prefix for variables to be expanded |
useSum |
if |
asExpression |
if |
env |
enviroment that will be used to find variables to be expanded |
... |
variables used in the expansion |
Value
character
or expression
vector with expanded expressions
[Package editrules version 2.9.5 Index]