Description Usage Arguments Value Author(s) See Also Examples
Convert expression into index expression for a given list or data frame object. Uses the input expression to generate the corresponding expression on a given list using the expression variables to address the list items, i.e. for an object X and expression 'a+b' generate the expression 'X$a + X$b'
1 2 3 4 5 6 | ## Static method (use this):
## Misc$to.index.expr(obj, expr, ...)
## Don't use the below:
## S3 method for class 'Misc'
to.index.expr(static, obj, expr, ...)
|
obj |
Input |
expr |
|
... |
Not used |
Indexed expression
on a given list
or data.frame
object.
Alex Lisovich, Roger Day
For more information see Misc
.
1 2 3 4 | ## Not run:
indexed.expression<-to.index.expr(G,"a | b&c");
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.