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.
expandEdits(
s,
prefix = "_",
useSum = TRUE,
asExpression = is.language(s),
env = parent.frame(),
...
)
character
or expression
vector with expanded expressions
edit expression, can be a character
or expression
vector
prefix for variables to be expanded
if TRUE
sum expressions will be expanded
if TRUE
an expression
will be returned in stead of a character
enviroment that will be used to find variables to be expanded
variables used in the expansion