expandEdits: Expand an edit expression

Description Usage Arguments Value

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

1
2
expandEdits(s, prefix = "_", useSum = TRUE, asExpression = is.language(s),
  env = parent.frame(), ...)

Arguments

s

edit expression, can be a character or expression vector

prefix

prefix for variables to be expanded

useSum

if TRUE sum expressions will be expanded

asExpression

if TRUE an expression will be returned in stead of a character

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



Search within the editrules package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.