Learn R Programming

operators (version 0.1-8)

plusEqual: Plus Equal Operators

Description

Plus equal operator

Usage

object %+=% value

Value

NULL. Used for the side effect of changing the value of object

Arguments

object

object to which to add something

value

object to add

Author

Romain Francois <[email protected]>

Examples

Run this code
  
  ### standard examples
  x <- 4
  x %+=% 4
  x
  
  ### XML examples with the R4X package
  if (FALSE) {
    require("R4X")
    x <- xmlNode( "test" )
    x %+=% ''
    x
  }
  

Run the code above in your browser using DataLab