Description Usage Arguments Value Note Author(s) Examples
Plus equal operator
1 | object %+=% value
|
object |
object to which to add something |
value |
object to add |
NULL. Used for the side effect of changing the value of object
The operator %+=%
is S3-generic with a single default
method implemented at the moment.
Romain Francois <francoisromain@free.fr>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
### standard examples
x <- 4
x %+=% 4
x
### XML examples with the R4X package
## Not run:
require("R4X")
x <- xmlNode( "test" )
x %+=% '<foo><bar/></foo>'
x
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.