Learn R Programming

operators (version 0.2.0)

plusEqual: Plus Equal Operator

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

Examples

Run this code
x <- 4
x %+=% 4
x

Run the code above in your browser using DataLab