Description Usage Arguments Value See Also Examples
In transform
the right hand sides of the arguments may not refer
to the left hand sides. transform2
works like transform
with the exception that a right hand side may refer to any of the variables
on the left hand side of another argument. The argument defining the
left hand side may come before or after the reference.
1 | transform2(`_data`, ...)
|
_data |
A data frame. |
... |
Further arguments of the form |
The modified value of _data
.
1 2 3 4 5 6 7 | ## Not run:
# bad
transform(BOD, b = a, a = demand)
## End(Not run)
# OK. a is set to demand and b is set to a so both wind up equal to demand
transform2(BOD, b = a, a = demand)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.